org.jboss.soa.esb.listeners.message
Interface MessageCounterMBean
- All Superinterfaces:
- org.jboss.system.Service, org.jboss.system.ServiceMBean
- All Known Implementing Classes:
- MessageCounter
public interface MessageCounterMBean
- extends org.jboss.system.ServiceMBean
MBean to represent simple message counting. Stores the number of succesful and
failed messages, the last message time, total bytes and time, and has the ability
to reset all counts.
- Author:
- tcunning@redhat.com
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
getTotalMessageCount
int getTotalMessageCount()
getSuccessfulMessageCount
int getSuccessfulMessageCount()
getFailedMessageCount
int getFailedMessageCount()
getLastSuccessfulMessageDate
java.lang.String getLastSuccessfulMessageDate()
getLastFailedMessageDate
java.lang.String getLastFailedMessageDate()
getAverageSuccessTime
java.lang.Double getAverageSuccessTime()
resetCounts
void resetCounts()