com.ibm.websphere.pmi.stat
Class BoundaryStatisticImpl
java.lang.Object
|
+--com.ibm.websphere.pmi.stat.StatisticImpl
|
+--com.ibm.websphere.pmi.stat.BoundaryStatisticImpl
- All Implemented Interfaces:
- com.ibm.websphere.management.statistics.BoundaryStatistic, java.io.Serializable, com.ibm.websphere.management.statistics.Statistic, Statistic
- public class BoundaryStatisticImpl
- extends StatisticImpl
- implements com.ibm.websphere.management.statistics.BoundaryStatistic
Implement JSR77's BoundaryStatistic interface.
- See Also:
- Serialized Form
Methods inherited from class com.ibm.websphere.pmi.stat.StatisticImpl |
disable, enable, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, reset, setDataInfo, setDataInfo, setLastSampleTime, setStartTime, toString, toString, 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.Statistic |
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
upperBound
protected long upperBound
lowerBound
protected long lowerBound
BoundaryStatisticImpl
public BoundaryStatisticImpl(int dataId)
BoundaryStatisticImpl
public BoundaryStatisticImpl(int id,
java.lang.String name,
java.lang.String unit,
java.lang.String description,
long startTime,
long lastSampleTime)
set
public void set(long lowerBound,
long upperBound,
long startTime,
long lastSampleTime)
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(Statistic other)
- Description copied from class:
StatisticImpl
- Aggregate the value of parameter data to this data
- Overrides:
combine
in class StatisticImpl
- Following copied from class:
com.ibm.websphere.pmi.stat.StatisticImpl
- Parameters:
data
- must have the same data ID and type
update
public void update(Statistic data)
- Description copied from class:
StatisticImpl
- Update itself with the new value in data.
- Overrides:
update
in class StatisticImpl
- Following copied from class:
com.ibm.websphere.pmi.stat.StatisticImpl
- Parameters:
data
- must have the same data ID and type
delta
public Statistic delta(Statistic data)
- Overrides:
delta
in class StatisticImpl
- Following copied from class:
com.ibm.websphere.pmi.stat.StatisticImpl
- Parameters:
data
- must have the same data ID and type- Returns:
- an Statistic object whose value is the difference of (this - data)
resetOnClient
public void resetOnClient(Statistic data)
- Description copied from class:
StatisticImpl
- Reset the data value to zero on client side. When using update method, the value
will always be the value since the last reset is called.
- Overrides:
resetOnClient
in class StatisticImpl
- Following copied from class:
com.ibm.websphere.pmi.stat.StatisticImpl
- Parameters:
data
- must have the same data ID and type