HttpEventGenRuntimeMBean Interface

com.bea.wli.management.runtime
HttpEventGenRuntimeMBean Interface

public interface HttpEventGenRuntimeMBean

    extends RuntimeMBean

This class provides runtime management for an Http Event Generator.


All Superinterfaces
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

Field Summary

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
 

Method Summary

public long
getErrorCount()
Return the number of errors that have been encountered by the event generator.
public long
getErrorResetTime()
Return the time that the error counter was last reset.
public String
getEventGeneratorName()
Return the name of the event generator.
public long
getMessageCount()
Get the number of messages that have been processed by the event generator.
public long
getResetTime()
Return the time that the message counter was last reset.
public void
resetErrorCount()
Reset the error message count of the event generator.
public void
resetMessageCount()
Reset the message count of the event generator.
 
Methods from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods from interface weblogic.management.runtime.RuntimeMBean
preDeregister
 
Methods from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
   

Field Detail

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

 

Method Detail

getErrorCount() Method

public long getErrorCount()
Return the number of errors that have been encountered by the event generator.

Returns

the number of errors that have been encountered by the event generator

getErrorResetTime() Method

public long getErrorResetTime()
Return the time that the error counter was last reset.

Returns

the error counter reset timestamp.

getEventGeneratorName() Method

public String getEventGeneratorName()
Return the name of the event generator.

Returns

name of the event generator

getMessageCount() Method

public long getMessageCount()
Get the number of messages that have been processed by the event generator.

Returns

the number of messages that have been processed by the event generator

getResetTime() Method

public long getResetTime()
Return the time that the message counter was last reset.

Returns

the message counter timestamp

resetErrorCount() Method

public void resetErrorCount()
Reset the error message count of the event generator.


resetMessageCount() Method

public void resetMessageCount()
Reset the message count of the event generator.