IBM WebSphere Application ServerTM
Release 7

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

public interface SPIStatistic
extends com.ibm.websphere.pmi.stat.WSStatistic

WebSphere interface to instrument a statistic.


Method Summary
 boolean isEnabled()
          Returns true if monitoring for this statitic is enabled
 void reset()
          Resets the statistic to zero.
 void setLastSampleTime(long lastSampleTime)
          Set last sample time
 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

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


setLastSampleTime

void setLastSampleTime(long lastSampleTime)
Set last sample time


setStartTime

void setStartTime(long startTime)
Set start time


isEnabled

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


IBM WebSphere Application ServerTM
Release 7