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:
- BoundaryStatistic, Statistic, java.io.Serializable
Deprecated.As of 6.0, replaced withWSBoundaryStatistic
public class BoundaryStatisticImpl extends StatisticImpl implements BoundaryStatistic
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description protected long
lowerBound
Deprecated.protected long
upperBound
Deprecated.
-
Constructor Summary
Constructors Constructor and Description BoundaryStatisticImpl(int dataId)
Deprecated.BoundaryStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
Deprecated.
-
Method Summary
Methods Modifier and Type Method and Description void
combine(Statistic other)
Deprecated.Aggregate the value of parameter data to this dataStatistic
delta(Statistic data)
Deprecated.long
getLowerBound()
Deprecated.long
getUpperBound()
Deprecated.void
resetOnClient(Statistic data)
Deprecated.Reset the data value to zero on client side.void
set(long lowerBound, long upperBound, long startTime, long lastSampleTime)
Deprecated.void
setLowerBound(long val)
Deprecated.void
setUpperBound(long val)
Deprecated.void
update(Statistic data)
Deprecated.Update itself with the new value in data.-
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
-
-
-
-
Field Detail
-
upperBound
protected long upperBound
Deprecated.
-
lowerBound
protected long lowerBound
Deprecated.
-
-
Constructor Detail
-
BoundaryStatisticImpl
public BoundaryStatisticImpl(int dataId)
Deprecated.
-
BoundaryStatisticImpl
public BoundaryStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
Deprecated.
-
-
Method Detail
-
set
public void set(long lowerBound, long upperBound, long startTime, long lastSampleTime)
Deprecated.
-
setLowerBound
public void setLowerBound(long val)
Deprecated.
-
setUpperBound
public void setUpperBound(long val)
Deprecated.
-
getLowerBound
public long getLowerBound()
Deprecated.- Specified by:
getLowerBound
in interfaceBoundaryStatistic
-
getUpperBound
public long getUpperBound()
Deprecated.- Specified by:
getUpperBound
in interfaceBoundaryStatistic
-
combine
public void combine(Statistic other)
Deprecated.Description copied from class:StatisticImpl
Aggregate the value of parameter data to this data- Specified by:
combine
in classStatisticImpl
- Parameters:
other
- must have the same data ID and type
-
update
public void update(Statistic data)
Deprecated.Description copied from class:StatisticImpl
Update itself with the new value in data.- Specified by:
update
in classStatisticImpl
- Parameters:
data
- must have the same data ID and type
-
delta
public Statistic delta(Statistic data)
Deprecated.- Specified by:
delta
in classStatisticImpl
- 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)
Deprecated.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.- Specified by:
resetOnClient
in classStatisticImpl
- Parameters:
data
- must have the same data ID and type
-
-