FileEventGenRuntimeMBean Interface
- public interface FileEventGenRuntimeMBean
extends RuntimeMBean
This class provides runtime management for a File Event Generator
-
All Superinterfaces
-
DynamicMBean
, MBeanRegistration
, NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public static final long |
-
CACHING_STUB_SVUID
- The magic number that is used to generate the serialVersionUID of the generated
MBean Stub (xxxMBean_Stub).
|
public static final String |
-
TYPE
- String
|
public long |
-
getErrorCount ()
- Get the number of errors that occured in the event generator
|
public long |
-
getErrorResetTime ()
- Get the reset timestamp of the errors for the event generator
|
public String |
-
getEventGeneratorName ()
- Get the name of the event generator
|
public long |
-
getFileCount ()
- Get the number of files that have been processed by the event generator
|
public long |
-
getResetTime ()
- Get the reset timestamp of the event generator
|
public void |
-
resetErrorCount ()
- Reset the error count of the event generator
|
public void |
-
resetFileCount ()
- Reset the file count of the event generator
|
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
- The magic number that is used to generate the serialVersionUID of the generated
MBean Stub (xxxMBean_Stub). You must change this value whenever you make one of the
changes to this interface:
- remove an existing method.
- change the signature of an existing "getter" or "setter" method.
- change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"
Otherwise you don't need to change this value. For instance you can add new methods,
or you can change the signature of methods that don't start with "get", "set" or "is".
If you are in doubt then change the SVUID.
It is a good idea to increment this value when changing.
TYPE
public static final String
TYPE
getErrorCount() Method
public long getErrorCount()
Get the number of errors that occured in the event generator
Returns
- the number of errors that occured in the event generator
getErrorResetTime() Method
public long getErrorResetTime()
Get the reset timestamp of the errors for the event generator
Returns
- reset timestamp of the errors for the event generator
getEventGeneratorName() Method
public String
getEventGeneratorName()
Get the name of the event generator
Returns
- name of the event generator
getFileCount() Method
public long getFileCount()
Get the number of files that have been processed by the event generator
Returns
- the number of files that have been processed by the event generator
getResetTime() Method
public long getResetTime()
Get the reset timestamp of the event generator
Returns
- reset timestamp of the event generator
resetErrorCount() Method
public void resetErrorCount()
Reset the error count of the event generator
resetFileCount() Method
public void resetFileCount()
Reset the file count of the event generator