|
|||||||||||
| 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.CIBExternalResourcePerfStatsImpl
Provides a default implementation of a CIBApplicationPerfStats provider for a CIBExternalResource. 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 | |
CIBExternalResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
|
|
CIBExternalResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
javax.management.ObjectName name)
|
|
CIBExternalResourcePerfStatsImpl(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)
Returns a CIBStats object from a composite data |
CIBValueStatistic |
getAccumulatedOutboundAssociations()
Returns a Statistic representing the total number of associations to the application entity since application initialization, where it was the initiator. |
CIBValueStatistic |
getFailedOutboundAssociations()
Returns a Statistic representing the total number associations where the application entity is initiator and association establishment has failed, since application initialization. |
CIBValueStatistic |
getFailedQueries()
Returns a Statistic object containing the number of failed queries |
CIBValueStatistic |
getLastOutboundActivity()
Returns a Statistic representing the value of sysUpTime at the time this application last had an outbound association. |
CIBValueStatistic |
getOutboundAssociations()
Return a Statistic representing the number of current associations to the network service application, where it is the initiator. |
CIBTimeStatistic |
getQueriesTime()
Returns a Statistic object representing the time for queries |
void |
init()
Initialize the statistics mechanism. |
void |
start()
Start the monitoring |
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 CIBExternalResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.lang.String name)
public CIBExternalResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
javax.management.ObjectName name)
public CIBExternalResourcePerfStatsImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
| Method Detail |
public CIBValueStatistic getAccumulatedOutboundAssociations()
throws CIBIOException,
CIBAttributeNotFoundException
getAccumulatedOutboundAssociations in interface CIBExternalResourcePerfStatsCIBAttributeNotFoundException
CIBIOException
public CIBValueStatistic getFailedOutboundAssociations()
throws CIBIOException,
CIBAttributeNotFoundException
getFailedOutboundAssociations in interface CIBExternalResourcePerfStatsCIBIOException
CIBAttributeNotFoundException
public CIBValueStatistic getOutboundAssociations()
throws CIBIOException,
CIBAttributeNotFoundException
getOutboundAssociations in interface CIBExternalResourcePerfStatsCIBIOException
CIBAttributeNotFoundException
public CIBValueStatistic getLastOutboundActivity()
throws CIBIOException,
CIBAttributeNotFoundException
getLastOutboundActivity in interface CIBExternalResourcePerfStatsCIBAttributeNotFoundException
CIBIOException
public CIBTimeStatistic getQueriesTime()
throws CIBIOException,
CIBAttributeNotFoundException
getQueriesTime in interface CIBExternalResourcePerfStatsCIBIOException
CIBAttributeNotFoundException
public CIBValueStatistic getFailedQueries()
throws CIBIOException,
CIBAttributeNotFoundException
getFailedQueries in interface CIBExternalResourcePerfStatsCIBIOException
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,
CIBException
CIBIOException
CIBException
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 | ||||||||||