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 withWSDoubleStatistic
public class DoubleStatisticImpl extends StatisticImpl
It is similar to CountStatisticImpl but contains a double member.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description protected doublecountDeprecated.
-
Constructor Summary
Constructors 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
Methods Modifier and Type Method and Description voidcombine(Statistic otherStat)Deprecated.Aggregate the value of parameter data to this datavoiddecrement()Deprecated.Server side only methodvoiddecrement(double val)Deprecated.Server side only methodStatisticdelta(Statistic otherStat)Deprecated.doublegetDouble()Deprecated.voidincrement()Deprecated.Server side only methodvoidincrement(double val)Deprecated.Server side only methodvoidreset()Deprecated.Reset the createTimevoidreset(boolean resetAll)Deprecated.voidresetOnClient(Statistic other)Deprecated.Reset the data value to zero on client side.voidset(double count, long startTime, long lastSampleTime)Deprecated.voidsetDouble(double value)Deprecated.java.lang.StringtoString()Deprecated.java.lang.StringtoString(java.lang.String indent)Deprecated.voidupdate(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
-
-
-
-
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.Description copied from class:StatisticImplReset the createTime- Overrides:
resetin classStatisticImpl
-
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:StatisticImplAggregate the value of parameter data to this data- Specified by:
combinein classStatisticImpl- 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:
toStringin classStatisticImpl
-
toString
public java.lang.String toString(java.lang.String indent)
Deprecated.- Overrides:
toStringin classStatisticImpl
-
update
public void update(Statistic otherStat)
Deprecated.Description copied from class:StatisticImplUpdate itself with the new value in data.- Specified by:
updatein classStatisticImpl- Parameters:
otherStat- must have the same data ID and type
-
delta
public Statistic delta(Statistic otherStat)
Deprecated.- Specified by:
deltain classStatisticImpl- 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:StatisticImplReset 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:
resetOnClientin classStatisticImpl- Parameters:
other- must have the same data ID and type
-
-