|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.jbi.monitoring.ComponentStats
public class ComponentStats
Defines basic statistics on the Component
| Field Summary | |
|---|---|
static String |
STATS_FILE
|
| Fields inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
currentState, INITIALIZED, listener |
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Constructor Summary | |
|---|---|
ComponentStats(ComponentMBeanImpl component)
Constructor |
|
| Method Summary | |
|---|---|
MBeanAttributeInfo[] |
getAttributeInfos()
Get an array of MBeanAttributeInfo |
String |
getDescription()
Get the Description of the item |
long |
getInboundExchangeCount()
Get the Inbound MessageExchange count |
double |
getInboundExchangeRate()
Get the Inbound MessageExchange rate (number/sec) |
int |
getInboundQueueSize()
|
String |
getName()
Get the name of the item |
MBeanOperationInfo[] |
getOperationInfos()
Get an array of MBeanOperationInfo |
long |
getOutboundExchangeCount()
Get the Outbound MessageExchange count |
double |
getOutboundExchangeRate()
Get the Outbound MessageExchange rate (number/sec) |
String |
getSubType()
Get the type of this mbean |
String |
getType()
Get the type of the item |
void |
reset()
Reset all stats counters |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
firePropertyChanged, getCurrentState, getObjectToManage, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener, shutDown, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STATS_FILE
| Constructor Detail |
|---|
public ComponentStats(ComponentMBeanImpl component)
lcc - | Method Detail |
|---|
public String getType()
getType in interface MBeanInfoProvidergetType in class BaseLifeCyclepublic String getSubType()
MBeanInfoProvider
getSubType in interface MBeanInfoProvidergetSubType in class BaseLifeCyclepublic String getName()
getName in interface MBeanInfoProvidergetName in class BaseLifeCyclepublic String getDescription()
getDescription in interface MBeanInfoProviderpublic long getInboundExchangeCount()
getInboundExchangeCount in interface ComponentStatsMBeanpublic double getInboundExchangeRate()
getInboundExchangeRate in interface ComponentStatsMBeanpublic long getOutboundExchangeCount()
getOutboundExchangeCount in interface ComponentStatsMBeanpublic double getOutboundExchangeRate()
getOutboundExchangeRate in interface ComponentStatsMBeanpublic int getInboundQueueSize()
getInboundQueueSize in interface ComponentStatsMBeanpublic void reset()
reset in interface ComponentStatsMBean
public MBeanAttributeInfo[] getAttributeInfos()
throws JMException
getAttributeInfos in interface MBeanInfoProvidergetAttributeInfos in class BaseLifeCycleJMExceptionpublic MBeanOperationInfo[] getOperationInfos()
getOperationInfos in interface MBeanInfoProvidergetOperationInfos in class BaseLifeCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||