| 
 | |||||||||||
| 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.CIBTimeStatisticImpl
Provides a default implementation of a CIBTimeStatistic
| Constructor Summary | |
| CIBTimeStatisticImpl(java.lang.String name,
                     java.lang.String description) | |
| Method Summary | |
|  CIBStatistic | fromCompositeData(javax.management.openmbean.CompositeData data)Returns a CIBStatistic object from a composite data | 
|  long | getCount()Get the count of the statistic object | 
|  long | getMaxTime()Get the MaxTime of the statistic object | 
|  long | getMinTime()Get the MinTime of the statistic object | 
|  long | getTotalSquaredTime()Get the toal of the squared time of the statistic object | 
|  long | getTotalTime()Get the totalTime of the statistic object | 
|  void | reset()Reset the statistic object | 
|  void | setCount(long count)Set the count on the statistic object | 
|  void | setMaxTime(long maxTime)Set the MaxTime of the statistic object | 
|  void | setMinTime(long minTime)Set the mMinTime of the statistic object | 
|  void | setTotalSquaredTime(long totalSquaredTime)Set the total of squared time of the statistic object | 
|  void | setTotalTime(long totalTime)Set the totalTime of the statistic object | 
|  javax.management.openmbean.CompositeData | toCompositeData()Returns a composite data reprenting 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 CIBTimeStatisticImpl(java.lang.String name,
                            java.lang.String description)
name - Stringdescription - String| Method Detail | 
public void setCount(long count)
count - longpublic void setMaxTime(long maxTime)
maxTime - longpublic void setMinTime(long minTime)
minTime - longpublic void setTotalTime(long totalTime)
totalTime - longpublic void setTotalSquaredTime(long totalSquaredTime)
totalSquaredTime - longpublic long getCount()
getCount in interface javax.management.j2ee.statistics.TimeStatisticpublic long getMaxTime()
getMaxTime in interface javax.management.j2ee.statistics.TimeStatisticpublic long getMinTime()
getMinTime in interface javax.management.j2ee.statistics.TimeStatisticpublic long getTotalTime()
getTotalTime in interface javax.management.j2ee.statistics.TimeStatisticpublic long getTotalSquaredTime()
getTotalSquaredTime in interface CIBTimeStatistic
public javax.management.openmbean.CompositeData toCompositeData()
                                                         throws javax.management.openmbean.OpenDataException
toCompositeData in interface CIBStatisticjavax.management.openmbean.OpenDataExceptionpublic CIBStatistic fromCompositeData(javax.management.openmbean.CompositeData data)
fromCompositeData in interface CIBStatisticdata - CompositeData
public void reset()
reset in class CIBStatisticImplpublic java.lang.String toString()
toString in class CIBStatisticImpl| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||