|
|||||||||||
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
Provides a default implementation of a CIBStatistic
Constructor Summary | |
CIBStatisticImpl(java.lang.String name,
java.lang.String description,
java.lang.String unit)
Contructor |
Method Summary | |
java.lang.String |
getDescription()
Get the description of the statistic object |
long |
getLastSampleTime()
Get the lastSampleTime of the statistic object |
java.lang.String |
getName()
Get the name of the statistic object |
long |
getStartTime()
Get the startTime of the statistic object |
java.lang.String |
getUnit()
Get the Unit of the statistic object |
void |
reset()
Reset the statistic object |
void |
setLastSampleTime(long sampleTime)
Set the lastSampleTime of the statistic object |
void |
setStartTime(long startTime)
Set the startTime of the statistic object representing the time of the beginning of measurement |
java.lang.String |
toString()
Returns a printable statistic object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.mfwk.cib.statistics.CIBStatistic |
fromCompositeData, toCompositeData |
Constructor Detail |
public CIBStatisticImpl(java.lang.String name, java.lang.String description, java.lang.String unit)
name
- Stringdescription
- Stringunit
- StringMethod Detail |
public void setLastSampleTime(long sampleTime)
sampleTime
- longpublic void setStartTime(long startTime)
startTime
- longpublic java.lang.String getName()
getName
in interface javax.management.j2ee.statistics.Statistic
public java.lang.String getUnit()
getUnit
in interface javax.management.j2ee.statistics.Statistic
public java.lang.String getDescription()
getDescription
in interface javax.management.j2ee.statistics.Statistic
public long getStartTime()
getStartTime
in interface javax.management.j2ee.statistics.Statistic
public long getLastSampleTime()
getLastSampleTime
in interface javax.management.j2ee.statistics.Statistic
public void reset()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |