|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mfwk.cib.sdk.statistics.CIBStatisticImpl
com.sun.mfwk.cib.sdk.statistics.CIBCountStatisticImpl
Provides a default implementation of a CIBCountStatistic
Constructor Summary | |
CIBCountStatisticImpl(java.lang.String name,
java.lang.String description)
Constructor |
Method Summary | |
CIBStatistic |
fromCompositeData(javax.management.openmbean.CompositeData data)
Returns a CIBStatistic object from the composite data |
long |
getCount()
Get the count of the statistic object |
void |
reset()
Reset the statistic object |
void |
setCount(long count)
Set the count of the statistic object |
javax.management.openmbean.CompositeData |
toCompositeData()
Returns a compsoite data of the statistic object |
java.lang.String |
toString()
Returns a printable statistic object |
Methods inherited from class com.sun.mfwk.cib.sdk.statistics.CIBStatisticImpl |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, setLastSampleTime, setStartTime |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.management.j2ee.statistics.Statistic |
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
Constructor Detail |
public CIBCountStatisticImpl(java.lang.String name, java.lang.String description)
name
- Stringdescription
- StringMethod Detail |
public void setCount(long count)
count
- longpublic long getCount()
getCount
in interface javax.management.j2ee.statistics.CountStatistic
public javax.management.openmbean.CompositeData toCompositeData() throws javax.management.openmbean.OpenDataException
toCompositeData
in interface CIBStatistic
javax.management.openmbean.OpenDataException
public CIBStatistic fromCompositeData(javax.management.openmbean.CompositeData data)
fromCompositeData
in interface CIBStatistic
public void reset()
reset
in class CIBStatisticImpl
public java.lang.String toString()
toString
in class CIBStatisticImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |