WSDoubleStatistic
public class DoubleStatisticImpl extends StatisticImpl
Modifier and Type | Field and Description |
---|---|
protected double |
count
Deprecated.
|
Constructor and Description |
---|
DoubleStatisticImpl(int dataId)
Deprecated.
|
DoubleStatisticImpl(int dataId,
double count,
long startTime,
long lastSampleTime)
Deprecated.
|
DoubleStatisticImpl(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 otherStat)
Deprecated.
Aggregate the value of parameter data to this data
|
void |
decrement()
Deprecated.
Server side only method
|
void |
decrement(double val)
Deprecated.
Server side only method
|
Statistic |
delta(Statistic otherStat)
Deprecated.
|
double |
getDouble()
Deprecated.
|
void |
increment()
Deprecated.
Server side only method
|
void |
increment(double val)
Deprecated.
Server side only method
|
void |
reset()
Deprecated.
Reset the createTime
|
void |
reset(boolean resetAll)
Deprecated.
|
void |
resetOnClient(Statistic other)
Deprecated.
Reset the data value to zero on client side.
|
void |
set(double count,
long startTime,
long lastSampleTime)
Deprecated.
|
void |
setDouble(double value)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
java.lang.String |
toString(java.lang.String indent)
Deprecated.
|
void |
update(Statistic otherStat)
Deprecated.
Update itself with the new value in data.
|
disable, enable, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, setDataInfo, setDataInfo, setLastSampleTime, setStartTime, toXML
public DoubleStatisticImpl(int dataId)
public DoubleStatisticImpl(int dataId, double count, long startTime, long lastSampleTime)
public DoubleStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
public void reset()
StatisticImpl
reset
in class StatisticImpl
public void reset(boolean resetAll)
public void set(double count, long startTime, long lastSampleTime)
public double getDouble()
public void combine(Statistic otherStat)
StatisticImpl
combine
in class StatisticImpl
otherStat
- must have the same data ID and typepublic void setDouble(double value)
public void increment()
public void increment(double val)
public void decrement()
public void decrement(double val)
public java.lang.String toString()
toString
in class StatisticImpl
public java.lang.String toString(java.lang.String indent)
toString
in class StatisticImpl
public void update(Statistic otherStat)
StatisticImpl
update
in class StatisticImpl
otherStat
- must have the same data ID and typepublic Statistic delta(Statistic otherStat)
delta
in class StatisticImpl
otherStat
- must have the same data ID and typepublic void resetOnClient(Statistic other)
StatisticImpl
resetOnClient
in class StatisticImpl
other
- must have the same data ID and type