com.ibm.wsspi.pmi.stat
Interface SPICountStatistic

All Superinterfaces:
SPIStatistic, WSCountStatistic, WSStatistic

public interface SPICountStatistic
extends SPIStatistic, WSCountStatistic

WebSphere interface to instrument a Count statistic.


Method Summary
 void decrement()
          Decrement the Count statistic by 1
 void decrement(long decVal)
          Decrement the Count statistic by decVal
 void decrement(long lastSampleTime, long incVal)
          Decrement the Count statistic by decVal
 void increment()
          Increment the Count statistic by 1
 void increment(long incVal)
          Increment the Count statistic by incVal
 void increment(long lastSampleTime, long incVal)
          Increment the Count statistic by incVal
 void set(long count, long startTime, long lastSampleTime)
          Set the Count statistic with the following values
 void setCount(long value)
          Set the count to the following 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.WSCountStatistic
getCount
 

Method Detail

increment

public void increment()
Increment the Count statistic by 1


increment

public void increment(long incVal)
Increment the Count statistic by incVal


increment

public void increment(long lastSampleTime,
                      long incVal)
Increment the Count statistic by incVal


decrement

public void decrement()
Decrement the Count statistic by 1


decrement

public void decrement(long decVal)
Decrement the Count statistic by decVal


decrement

public void decrement(long lastSampleTime,
                      long incVal)
Decrement the Count statistic by decVal


set

public void set(long count,
                long startTime,
                long lastSampleTime)
Set the Count statistic with the following values


setCount

public void setCount(long value)
Set the count to the following value