|
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 CountStatistic
This interface represents statistic with a standard count measurement.
Method Summary | |
---|---|
CountStatistic |
copy()
Returns a new copy of this statistic |
long |
getCount()
Gets the count since the last reset. |
long |
getMax()
Gets the maximum count value |
long |
getMin()
Gets the minimum count value. |
CountStatistic |
rateOfChange(CountStatistic otherStatistic)
Calculates the rate of change between two CountStatistics. |
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()
CountStatistic copy()
CountStatistic rateOfChange(CountStatistic otherStatistic)
The provided CountStatistic
must have the same statistic
ID and type. The returned CountStatistic object is calculated
by the count by the duration time difference of update time between the
two statistics.
otherStatistic
- a count statistic to compare with
CountStatistic
with the rate of change
between this object and the specified object
or null
if the types or IDs don't match
or the update time between the two Statistics is zeroStatistic.getId()
,
Statistic.getLastSampleTime()
long getMin()
long getMax()
|
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 |