com.ibm.websphere.pmi.stat
Class BoundedRangeStatisticImpl

java.lang.Object
  |
  +--com.ibm.websphere.pmi.stat.StatisticImpl
        |
        +--com.ibm.websphere.pmi.stat.RangeStatisticImpl
              |
              +--com.ibm.websphere.pmi.stat.BoundedRangeStatisticImpl
All Implemented Interfaces:
com.ibm.websphere.management.statistics.BoundaryStatistic, com.ibm.websphere.management.statistics.BoundedRangeStatistic, com.ibm.websphere.management.statistics.RangeStatistic, java.io.Serializable, Statistic, com.ibm.websphere.management.statistics.Statistic

public class BoundedRangeStatisticImpl
extends RangeStatisticImpl
implements com.ibm.websphere.management.statistics.BoundedRangeStatistic

Implement JSR77's BoundedRangeStatistic.

See Also:
Serialized Form

Field Summary
protected  long lowerBound
           
protected  long upperBound
           
 
Fields inherited from class com.ibm.websphere.pmi.stat.RangeStatisticImpl
current, highWaterMark, integral, lowWaterMark
 
Fields inherited from class com.ibm.websphere.pmi.stat.StatisticImpl
serialVersionUID
 
Constructor Summary
BoundedRangeStatisticImpl(int dataId)
           
BoundedRangeStatisticImpl(int id, long lowerBound, long upperBound, long lowWaterMark, long highWaterMark, long current, long integral, long startTime, long lastSampleTime)
           
BoundedRangeStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
           
 
Method Summary
 void cleanup()
           
 void combine(BoundedRangeStatisticImpl other)
           
 long getLowerBound()
           
 long getUpperBound()
           
 void reset()
          Reset the createTime
 void reset(boolean resetAll)
           
 void set(long lowerBound, long upperBound, long lowWaterMark, long highWaterMark, long current, long integral, long startTime, long lastSampleTime)
           
 void setLowerBound(long val)
           
 void setUpperBound(long val)
           
 java.lang.String toString()
           
 java.lang.String toString(java.lang.String indent)
           
 
Methods inherited from class com.ibm.websphere.pmi.stat.RangeStatisticImpl
add, add, combine, decrement, decrement, decrement, delta, getCurrent, getHighWaterMark, getIntegral, getLowWaterMark, getMean, increment, increment, increment, myupdate, myupdate, resetOnClient, set, setLastValue, setWaterMark, setWaterMark, update
 
Methods inherited from class com.ibm.websphere.pmi.stat.StatisticImpl
disable, enable, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, setDataInfo, setDataInfo, setLastSampleTime, setStartTime, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.websphere.management.statistics.RangeStatistic
getCurrent, getHighWaterMark, getLowWaterMark
 
Methods inherited from interface com.ibm.websphere.management.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Field Detail

upperBound

protected long upperBound

lowerBound

protected long lowerBound
Constructor Detail

BoundedRangeStatisticImpl

public BoundedRangeStatisticImpl(int dataId)

BoundedRangeStatisticImpl

public BoundedRangeStatisticImpl(int id,
                                 java.lang.String name,
                                 java.lang.String unit,
                                 java.lang.String description,
                                 long startTime,
                                 long lastSampleTime)

BoundedRangeStatisticImpl

public BoundedRangeStatisticImpl(int id,
                                 long lowerBound,
                                 long upperBound,
                                 long lowWaterMark,
                                 long highWaterMark,
                                 long current,
                                 long integral,
                                 long startTime,
                                 long lastSampleTime)
Method Detail

reset

public void reset()
Description copied from class: StatisticImpl
Reset the createTime

Specified by:
reset in interface Statistic
Overrides:
reset in class RangeStatisticImpl

reset

public void reset(boolean resetAll)
Overrides:
reset in class RangeStatisticImpl

set

public void set(long lowerBound,
                long upperBound,
                long lowWaterMark,
                long highWaterMark,
                long current,
                long integral,
                long startTime,
                long lastSampleTime)

cleanup

public void cleanup()
Overrides:
cleanup in class RangeStatisticImpl

setLowerBound

public void setLowerBound(long val)

setUpperBound

public void setUpperBound(long val)

getLowerBound

public long getLowerBound()
Specified by:
getLowerBound in interface com.ibm.websphere.management.statistics.BoundaryStatistic

getUpperBound

public long getUpperBound()
Specified by:
getUpperBound in interface com.ibm.websphere.management.statistics.BoundaryStatistic

combine

public void combine(BoundedRangeStatisticImpl other)

toString

public java.lang.String toString()
Specified by:
toString in interface Statistic
Overrides:
toString in class RangeStatisticImpl

toString

public java.lang.String toString(java.lang.String indent)
Specified by:
toString in interface Statistic
Overrides:
toString in class RangeStatisticImpl


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.