com.ibm.wsspi.pmi.stat

Interface SPIStatistic

All Superinterfaces:
com.ibm.websphere.pmi.stat.WSStatistic
All known subinterfaces:
SPIAverageStatistic, SPIBoundaryStatistic, SPIBoundedRangeStatistic, SPICountStatistic, SPIDoubleStatistic, SPIRangeStatistic, SPITimeStatistic

  1. public interface SPIStatistic
  2. extends com.ibm.websphere.pmi.stat.WSStatistic
WebSphere interface to instrument a statistic.

Method Summary

Modifier and Type Method and Description
  1. boolean
isEnabled()
Returns true if monitoring for this statitic is enabled
  1. void
reset()
Resets the statistic to zero.
  1. void
setLastSampleTime(long lastSampleTime)
Set last sample time
  1. void
setStartTime(long startTime)
Set start time
Methods inherited from interface com.ibm.websphere.pmi.stat.WSStatistic
combine, copy, delta, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, rateOfChange, resetOnClient, setDataInfo, setDataInfo, toString, toXML, update

Method Detail

reset

  1. void reset()
Resets the statistic to zero. Typically, this method is not called by the application.

setLastSampleTime

  1. void setLastSampleTime(long lastSampleTime)
Set last sample time

setStartTime

  1. void setStartTime(long startTime)
Set start time

isEnabled

  1. boolean isEnabled()
Returns true if monitoring for this statitic is enabled