|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.mfwk.cib.sdk.statistics.CIBPerfStatsImpl
com.sun.mfwk.cib.sdk.statistics.CIBResourcePerfStatsImpl
Provides a default implementation of a CIBApplicationPerfStats provider for a CIBResource. This implementation is fully based on the Java-ES MF Instrumentation SDK.
| Field Summary |
| Fields inherited from interface com.sun.mfwk.cib.statistics.CIBStats |
CIBStatsVersion |
| Constructor Summary | |
CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
|
|
CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
javax.management.ObjectName name)
|
|
CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.lang.String name)
|
|
| Method Summary | |
void |
destroy()
destroy the statistics and clean the statistics objects/values when needed, close all the communications. |
CIBStats |
fromCompositeData(javax.management.openmbean.CompositeData data)
fromCompositeData |
CIBValueStatistic |
getFailedOperations()
Return a statistic object containing the number of failed operations |
CIBTimeStatistic |
getOperationTime()
Return statistic object containing values regarding the Operation Time |
void |
init()
Initialize the statistics mechanism. |
void |
start()
Start the statistics collections and clean the statistics objects/values when needed, close all the communications. |
void |
stop()
Stop the statistics collections and clean the statistics objects/values when needed, close all the communications. |
javax.management.openmbean.CompositeData |
toCompositeData()
toCompositeData |
| Methods inherited from class com.sun.mfwk.cib.sdk.statistics.CIBPerfStatsImpl |
getStatistic, getStatisticNames, getStatistics |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.management.j2ee.statistics.Stats |
getStatistic, getStatisticNames, getStatistics |
| Constructor Detail |
public CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.lang.String name)
public CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
javax.management.ObjectName name)
public CIBResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
| Method Detail |
public CIBTimeStatistic getOperationTime()
throws CIBIOException,
CIBAttributeNotFoundException
getOperationTime in interface CIBResourcePerfStatsCIBIOException
CIBAttributeNotFoundException
public CIBValueStatistic getFailedOperations()
throws CIBIOException,
CIBAttributeNotFoundException
getFailedOperations in interface CIBResourcePerfStatsCIBIOException
CIBAttributeNotFoundException
public void init()
throws CIBIOException,
CIBException
init in interface CIBProviderinit in class CIBPerfStatsImplCIBIOException
CIBException
public void destroy()
throws CIBIOException,
CIBException
destroy in interface CIBProviderdestroy in class CIBPerfStatsImplCIBIOException
CIBException
public void start()
throws CIBIOException,
CIBAttributeNotFoundException
CIBIOException
CIBAttributeNotFoundException
public void stop()
throws CIBIOException,
CIBException
CIBIOException
CIBException
public javax.management.openmbean.CompositeData toCompositeData()
throws javax.management.openmbean.OpenDataException
toCompositeData in interface CIBStatsjavax.management.openmbean.OpenDataExceptionpublic CIBStats fromCompositeData(javax.management.openmbean.CompositeData data)
fromCompositeData in interface CIBStatsdata - CompositeData
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||