WSCountStatisticpublic class CountStatisticImpl extends StatisticImpl implements CountStatistic
| Modifier and Type | Field and Description |
|---|---|
protected long |
count
Deprecated.
|
| Constructor and Description |
|---|
CountStatisticImpl(int dataId)
Deprecated.
|
CountStatisticImpl(int dataId,
long count,
long startTime,
long lastSampleTime)
Deprecated.
|
CountStatisticImpl(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(long val)
Deprecated.
Server side only method
|
Statistic |
delta(Statistic otherStat)
Deprecated.
|
long |
getCount()
Deprecated.
|
void |
increment()
Deprecated.
Server side only method
|
void |
increment(long 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(long count,
long startTime,
long lastSampleTime)
Deprecated.
|
void |
setCount(long 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, toXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitpublic CountStatisticImpl(int dataId)
public CountStatisticImpl(int dataId,
long count,
long startTime,
long lastSampleTime)
public CountStatisticImpl(int id,
java.lang.String name,
java.lang.String unit,
java.lang.String description,
long startTime,
long lastSampleTime)
public long getCount()
getCount in interface CountStatisticpublic void reset()
StatisticImplreset in class StatisticImplpublic void reset(boolean resetAll)
public void set(long count,
long startTime,
long lastSampleTime)
public void combine(Statistic otherStat)
StatisticImplcombine in class StatisticImplotherStat - must have the same data ID and typepublic void setCount(long value)
public void increment()
public void increment(long val)
public void decrement()
public void decrement(long val)
public java.lang.String toString()
toString in class StatisticImplpublic java.lang.String toString(java.lang.String indent)
toString in class StatisticImplpublic void update(Statistic otherStat)
StatisticImplupdate in class StatisticImplotherStat - must have the same data ID and typepublic Statistic delta(Statistic otherStat)
delta in class StatisticImplotherStat - must have the same data ID and typepublic void resetOnClient(Statistic other)
StatisticImplresetOnClient in class StatisticImplother - must have the same data ID and type