|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeStatistic
This interface represents a standard time measurement.
Method Summary | |
---|---|
void |
add(long time)
Adds a time value to this statistic. |
TimeStatistic |
copy()
Returns a new copy of this statistic. |
long |
getCount()
Gets the count since the last reset. |
long |
getMaxTime()
Gets the maximum time value since the beginning of the measurement. |
double |
getMeanTime()
Gets the mean or average of the time values. |
long |
getMinTime()
Gets the minimum time value since the beginning of the measurement. |
long |
getSumOfSquares()
Gets the sum of squares of the time values. |
long |
getTotalTime()
Gets the total time since the beginning of the measurement. |
Methods inherited from interface com.ibm.websphere.objectgrid.stats.Statistic |
---|
combine, delta, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, reset, toString, update |
Method Detail |
---|
long getCount()
long getTotalTime()
long getMinTime()
long getMaxTime()
double getMeanTime()
The average time is calculated by dividing getTotalTime()
by getCount()
long getSumOfSquares()
void add(long time)
time
- the time duration to addTimeStatistic copy()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |