|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.message.ServiceMessageCounter
public class ServiceMessageCounter
Service message counter is a MBean that displays an action-by-action breakdown of how many failed and successful messages have been processed and shows the processing time of each.
Field Summary | |
---|---|
static java.lang.String |
RESET_COUNTER
|
Constructor Summary | |
---|---|
ServiceMessageCounter(ConfigTree f_config)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getActionId(ConfigTree ct)
Return an action id. |
java.lang.Object |
getAttribute(java.lang.String key)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] arg0)
|
javax.management.MBeanInfo |
getMBeanInfo()
This creates the MBeanInfo object provided. |
protected javax.management.ObjectName |
getObjectName()
|
void |
incrementTotalCount()
Increment the total message count of this service. |
void |
initHashes()
Initialize the hashes by setting the counts and the processing time to an initial value of 0. |
java.lang.Object |
invoke(java.lang.String method,
java.lang.Object[] arg1,
java.lang.String[] arg2)
|
protected void |
registerMBean()
Register this MBean with JBoss. |
void |
resetCounter()
Reset the counters - set all the entries in the action counter hash and in the action process time hash to zero. |
void |
setAttribute(javax.management.Attribute arg0)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList arg0)
|
void |
update(ActionStatusBean asb)
Update the ServiceMessageCounter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESET_COUNTER
Constructor Detail |
---|
public ServiceMessageCounter(ConfigTree f_config)
f_config
- config treeMethod Detail |
---|
public java.lang.String getActionId(ConfigTree ct)
ct
- config tree
public void incrementTotalCount()
public void initHashes()
public void resetCounter()
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public java.lang.Object getAttribute(java.lang.String key) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList getAttributes(java.lang.String[] arg0)
getAttributes
in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String method, java.lang.Object[] arg1, java.lang.String[] arg2) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute arg0) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
in interface javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.AttributeList setAttributes(javax.management.AttributeList arg0)
setAttributes
in interface javax.management.DynamicMBean
protected void registerMBean()
public void update(ActionStatusBean asb)
asb
- ActionStatusBeanprotected javax.management.ObjectName getObjectName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |