EmailEventGenRuntimeMBean Interface
- public interface EmailEventGenRuntimeMBean
extends RuntimeMBean
This class provides runtime management for a Email 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
|
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
getEmailCount() Method
public long getEmailCount()
Return the number of emails that have been processed by the event generator.
Returns
- the number of emails that have been processed by the event generator.
getEmailErrorCount() Method
public long getEmailErrorCount()
Return the number of errors that have been encountered by the event generator.
Returns
- the number of errors encountered by the event generator.
getErrorCountResetTime() Method
public long getErrorCountResetTime()
Return the timestamp of last error counter reset operation.
Returns
- the error counter reset timestamp.
getEventGeneratorName() Method
public String
getEventGeneratorName()
Get the name of the event generator
Returns
- name of the event generator
getResetTime() Method
public long getResetTime()
Return the timestamp of last message counter reset operation.
Returns
- the message counter timestamp.
resetEmailCount() Method
public void resetEmailCount()
Reset the email count of the event generator.
resetEmailErrorCount() Method
public void resetEmailErrorCount()
Reset the error count of the event generator.