com.ibm.websphere.pmi.stat
Class DoubleStatisticImpl
- java.lang.Object
com.ibm.websphere.pmi.stat.StatisticImpl
com.ibm.websphere.pmi.stat.DoubleStatisticImpl
All implemented interfaces:
Statistic, java.io.Serializable
Deprecated. As of 6.0, replaced with
WSDoubleStatistic
- public class DoubleStatisticImpl
- extends StatisticImpl
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
count
Deprecated.
|
Constructor Summary
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
combine(Statistic otherStat)
Deprecated. Aggregate the value of parameter data to this data
|
|
decrement()
Deprecated. Server side only method
|
|
decrement(double val)
Deprecated. Server side only method
|
delta(Statistic otherStat)
Deprecated.
|
|
|
getDouble()
Deprecated.
|
|
increment()
Deprecated. Server side only method
|
|
increment(double val)
Deprecated. Server side only method
|
|
reset()
Deprecated. Reset the createTime
|
|
reset(boolean resetAll)
Deprecated.
|
|
resetOnClient(Statistic other)
Deprecated. Reset the data value to zero on client side.
|
|
set(double count,long startTime,long lastSampleTime)
Deprecated.
|
|
setDouble(double value)
Deprecated.
|
|
toString()
Deprecated.
|
|
toString(java.lang.String indent)
Deprecated.
|
|
update(Statistic otherStat)
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, setDataInfo, setDataInfo, setLastSampleTime, setStartTime, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
count
- protected double count
Deprecated.
Constructor Detail
DoubleStatisticImpl
- public DoubleStatisticImpl(int dataId)
Deprecated.
DoubleStatisticImpl
- public DoubleStatisticImpl(int dataId,
- double count,
- long startTime,
- long lastSampleTime)
Deprecated.
DoubleStatisticImpl
- public DoubleStatisticImpl(int id,
- java.lang.String name,
- java.lang.String unit,
- java.lang.String description,
- long startTime,
- long lastSampleTime)
Deprecated.
Method Detail
reset
- public void reset()
Deprecated.
Reset the createTime
Overrides:
reset
in class StatisticImpl
reset
- public void reset(boolean resetAll)
Deprecated.
set
- public void set(double count,
- long startTime,
- long lastSampleTime)
Deprecated.
getDouble
- public double getDouble()
Deprecated.
combine
- public void combine(Statistic otherStat)
Deprecated.
Description copied from class:
StatisticImpl
Aggregate the value of parameter data to this data
Specified by:
combine
in class StatisticImpl
Parameters:
otherStat
- must have the same data ID and type setDouble
- public void setDouble(double value)
Deprecated.
increment
- public void increment()
Deprecated.
Server side only method
increment
- public void increment(double val)
Deprecated.
Server side only method
decrement
- public void decrement()
Deprecated.
Server side only method
decrement
- public void decrement(double val)
Deprecated.
Server side only method
toString
- public java.lang.String toString( )
Deprecated.
Overrides:
toString
in class StatisticImpl
toString
- public java.lang.String toString( java.lang.String indent)
Deprecated.
Overrides:
toString
in class StatisticImpl
update
- public void update(Statistic otherStat)
Deprecated.
Description copied from class:
StatisticImpl
Update itself with the new value in data.
Specified by:
update
in class StatisticImpl
Parameters:
otherStat
- must have the same data ID and type delta
Deprecated.
Specified by:
delta
in class StatisticImpl
Parameters:
otherStat
- 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 other)
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 class StatisticImpl
Parameters:
other
- must have the same data ID and type
StatisticImpl