IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.pmi.stat
Interface SPIRangeStatistic

All Superinterfaces:
SPIStatistic, com.ibm.websphere.pmi.stat.WSRangeStatistic, com.ibm.websphere.pmi.stat.WSStatistic
All Known Subinterfaces:
SPIBoundedRangeStatistic

public interface SPIRangeStatistic
extends SPIStatistic, com.ibm.websphere.pmi.stat.WSRangeStatistic

WebSphere interface to instrument a Range statistic.


Method Summary
 void decrement()
          Decrement the current value by 1.
 void decrement(long decVal)
          Decrement the current value by incVal.
 void decrement(long lastSampleTime, long incVal)
          Decrement the current value by incVal.
 void increment()
          Increment the current value by 1.
 void increment(long incVal)
          Increment the current value by incVal.
 void increment(long lastSampleTime, long incVal)
          Increment the current value by incVal.
 void set(long currentValue)
          Set the current value.
 void set(long lastSampleTime, long val)
          Set the current value.
 void set(long lowWaterMark, long highWaterMark, long current, double integral, long startTime, long lastSampleTime)
          Set the Range statistic with the following values
 void setLastValue(long val)
          Set the current value.
 void setWaterMark(long currentValue)
          Updates high water mark and low water mark based on the input value
 void setWaterMark(long lastSampleTime, long currentValue)
          Updates high water mark and low water mark based on the input value
 long updateIntegral()
          Updates the intergal value.
 long updateIntegral(long lastSampleTime)
          Updates the intergal value.
 
Methods inherited from interface com.ibm.wsspi.pmi.stat.SPIStatistic
isEnabled, reset, setLastSampleTime, setStartTime
 
Methods inherited from interface com.ibm.websphere.pmi.stat.WSRangeStatistic
getCurrent, getHighWaterMark, getIntegral, getLowWaterMark, getMean
 
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

setWaterMark

void setWaterMark(long currentValue)
Updates high water mark and low water mark based on the input value


setWaterMark

void setWaterMark(long lastSampleTime,
                  long currentValue)
Updates high water mark and low water mark based on the input value


set

void set(long lowWaterMark,
         long highWaterMark,
         long current,
         double integral,
         long startTime,
         long lastSampleTime)
Set the Range statistic with the following values


set

void set(long currentValue)
Set the current value. The water marks will be updated automatically.


set

void set(long lastSampleTime,
         long val)
Set the current value. The water marks will be updated automatically.


increment

void increment()
Increment the current value by 1. The water marks will be updated automatically.


increment

void increment(long incVal)
Increment the current value by incVal. The water marks will be updated automatically.


increment

void increment(long lastSampleTime,
               long incVal)
Increment the current value by incVal. The water marks will be updated automatically.


decrement

void decrement()
Decrement the current value by 1. The water marks will be updated automatically.


decrement

void decrement(long decVal)
Decrement the current value by incVal. The water marks will be updated automatically.


decrement

void decrement(long lastSampleTime,
               long incVal)
Decrement the current value by incVal. The water marks will be updated automatically.


setLastValue

void setLastValue(long val)
Set the current value. The water marks are not updated.


updateIntegral

long updateIntegral()
Updates the intergal value. Typically, this method shouldn't be called from the application.


updateIntegral

long updateIntegral(long lastSampleTime)
Updates the intergal value. Typically, this method shouldn't be called from the application.


IBM WebSphere Application ServerTM
Release 8