com.ibm.wsspi.pmi.stat
Interface SPIRangeStatistic

All Superinterfaces:
SPIStatistic, WSRangeStatistic, WSStatistic
All Known Subinterfaces:
SPIBoundedRangeStatistic

public interface SPIRangeStatistic
extends SPIStatistic, 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.WSStatistic
combine, copy, delta, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, rateOfChange, resetOnClient, setDataInfo, setDataInfo, toString, toXML, update
 
Methods inherited from interface com.ibm.websphere.pmi.stat.WSRangeStatistic
getCurrent, getHighWaterMark, getIntegral, getLowWaterMark, getMean
 

Method Detail

setWaterMark

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


setWaterMark

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


set

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


set

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


set

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


increment

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


increment

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


increment

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


decrement

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


decrement

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


decrement

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


setLastValue

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


updateIntegral

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


updateIntegral

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