|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.modeler.BaseModelMBean
org.ow2.easybeans.component.statistic.management.StatisticComponentMBean
public class StatisticComponentMBean
StatisticComponentMBean MBean Base.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.modeler.BaseModelMBean |
|---|
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source |
| Constructor Summary | |
|---|---|
StatisticComponentMBean()
Create the mbean. |
|
| Method Summary | |
|---|---|
java.lang.String |
getStatisticDescription(java.lang.String statisticId)
Get the statistic description for the given statistic. |
java.util.List<java.lang.String> |
getStatisticFactoryIds()
Get registered statistic factory ids. |
java.lang.String |
getStatisticFactoryMode(java.lang.String statisticFactoryId)
Get the statistic factory mode for the given statistic factory. |
boolean |
getStatisticFactoryState(java.lang.String statisticFactoryId)
Get the statistic factory state for the given statistic factory. |
java.util.List<java.lang.String> |
getStatisticIds()
Get all statistic ids. |
long |
getStatisticLastSampleTime(java.lang.String statisticId)
Get the statistic last sample time for the given statistic. |
java.lang.String |
getStatisticMode(java.lang.String statisticId)
Get the statistic mode for the given statistic. |
java.lang.String |
getStatisticName(java.lang.String statisticId)
Get the statistic name for the given statistic. |
java.util.List<java.lang.String> |
getStatisticProviderIds()
Get registered statistic provider ids. |
java.lang.String |
getStatisticProviderMode(java.lang.String statisticProviderId)
Get the statistic provider mode for the given statistic provider. |
boolean |
getStatisticProviderState(java.lang.String statisticProviderId)
Get the statistic provider state for the given statistic provider. |
long |
getStatisticStartTime(java.lang.String statisticId)
Get the statistic start time for the given statistic. |
boolean |
getStatisticState(java.lang.String statisticId)
Get the statistic state for the given statistic. |
java.lang.String |
getStatisticValue(java.lang.String statisticId)
Get the statistic value for the given statistic. |
void |
resetStatistic(java.lang.String statisticId)
Reset the given statistic. |
void |
setStatisticFactoryMode(java.lang.String statisticFactoryId,
java.lang.String statisticFactoryMode)
Set the statistic factory mode for the given statistic factory. |
void |
setStatisticFactoryState(java.lang.String statisticFactoryId,
boolean statisticFactoryState)
Set the statistic factory state for the given statistic factory. The statistic factory mode is automatically set to MANUAL. |
void |
setStatisticMode(java.lang.String statisticId,
java.lang.String statisticMode)
Set the statistic mode for the given statistic. |
void |
setStatisticProviderMode(java.lang.String statisticProviderId,
java.lang.String statisticProviderMode)
Set the statistic provider mode for the given statistic provider. |
void |
setStatisticProviderState(java.lang.String statisticProviderId,
boolean statisticProviderState)
Set the statistic provider state for the given statistic provider. The statistic provider mode is automatically set to MANUAL. |
void |
setStatisticState(java.lang.String statisticId,
boolean statisticStateValue)
Set the statistic state for the given statistic. The statistic mode is automatically set to MANUAL. |
| Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
|---|
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticComponentMBean()
throws javax.management.MBeanException
javax.management.MBeanException - if the super constructor fails.| Method Detail |
|---|
public java.util.List<java.lang.String> getStatisticFactoryIds()
throws javax.management.MBeanException
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticFactoryMode(java.lang.String statisticFactoryId)
throws javax.management.MBeanException
statisticFactoryId - The statistic factory id.
javax.management.MBeanException - If an error occurs.
public void setStatisticFactoryMode(java.lang.String statisticFactoryId,
java.lang.String statisticFactoryMode)
throws javax.management.MBeanException
statisticFactoryId - The statistic factory id.statisticFactoryMode - The statistic factory mode.
javax.management.MBeanException - If an error occurs.
public boolean getStatisticFactoryState(java.lang.String statisticFactoryId)
throws javax.management.MBeanException
statisticFactoryId - The statistic factory id.
javax.management.MBeanException - If an error occurs.
public void setStatisticFactoryState(java.lang.String statisticFactoryId,
boolean statisticFactoryState)
throws javax.management.MBeanException
statisticFactoryId - The statistic factory id.statisticFactoryState - The statistic factory state
javax.management.MBeanException - If an error occurs.
public java.util.List<java.lang.String> getStatisticProviderIds()
throws javax.management.MBeanException
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticProviderMode(java.lang.String statisticProviderId)
throws javax.management.MBeanException
statisticProviderId - The statistic provider id.
javax.management.MBeanException - If an error occurs.
public void setStatisticProviderMode(java.lang.String statisticProviderId,
java.lang.String statisticProviderMode)
throws javax.management.MBeanException
statisticProviderId - The statistic provider id.statisticProviderMode - The statistic provider mode.
javax.management.MBeanException - If an error occurs.
public boolean getStatisticProviderState(java.lang.String statisticProviderId)
throws javax.management.MBeanException
statisticProviderId - The statistic provider id.
javax.management.MBeanException - If an error occurs.
public void setStatisticProviderState(java.lang.String statisticProviderId,
boolean statisticProviderState)
throws javax.management.MBeanException
statisticProviderId - The statistic provider id.statisticProviderState - The statistic provider state.
javax.management.MBeanException - If an error occurs.
public java.util.List<java.lang.String> getStatisticIds()
throws javax.management.MBeanException
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticMode(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public void setStatisticMode(java.lang.String statisticId,
java.lang.String statisticMode)
throws javax.management.MBeanException
statisticId - The statistic id.statisticMode - The statistic mode.
javax.management.MBeanException - If an error occurs.
public boolean getStatisticState(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public void setStatisticState(java.lang.String statisticId,
boolean statisticStateValue)
throws javax.management.MBeanException
statisticId - The statistic id.statisticStateValue - The statistic state.
javax.management.MBeanException - If an error occurs.
public void resetStatistic(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id to reset.
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticName(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticDescription(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public java.lang.String getStatisticValue(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public long getStatisticStartTime(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
public long getStatisticLastSampleTime(java.lang.String statisticId)
throws javax.management.MBeanException
statisticId - The statistic id.
javax.management.MBeanException - If an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||