WSBoundaryStatistic
public class BoundaryStatisticImpl extends StatisticImpl implements BoundaryStatistic
Modifier and Type | Field and Description |
---|---|
protected long |
lowerBound
Deprecated.
|
protected long |
upperBound
Deprecated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
combine(Statistic other)
Deprecated.
Aggregate the value of parameter data to this data
|
Statistic |
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.
|
disable, enable, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, reset, setDataInfo, setDataInfo, setLastSampleTime, setStartTime, toString, toString, toXML
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLastSampleTime, getName, getStartTime, getUnit
protected long upperBound
protected long lowerBound
public BoundaryStatisticImpl(int dataId)
public BoundaryStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
public void set(long lowerBound, long upperBound, long startTime, long lastSampleTime)
public void setLowerBound(long val)
public void setUpperBound(long val)
public long getLowerBound()
getLowerBound
in interface BoundaryStatistic
public long getUpperBound()
getUpperBound
in interface BoundaryStatistic
public void combine(Statistic other)
StatisticImpl
combine
in class StatisticImpl
other
- must have the same data ID and typepublic void update(Statistic data)
StatisticImpl
update
in class StatisticImpl
data
- must have the same data ID and typepublic Statistic delta(Statistic data)
delta
in class StatisticImpl
data
- must have the same data ID and typepublic void resetOnClient(Statistic data)
StatisticImpl
resetOnClient
in class StatisticImpl
data
- must have the same data ID and type