com.ibm.websphere.pmi.stat

Class DoubleStatisticImpl

  1. java.lang.Object
  2. extended bycom.ibm.websphere.pmi.stat.StatisticImpl
  3. extended bycom.ibm.websphere.pmi.stat.DoubleStatisticImpl
All implemented interfaces:
Statistic, java.io.Serializable

Deprecated. As of 6.0, replaced with WSDoubleStatistic
  1. public class DoubleStatisticImpl
  2. extends StatisticImpl
It is similar to CountStatisticImpl but contains a double member.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. double
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
  1. void
combine(Statistic otherStat)
Deprecated. Aggregate the value of parameter data to this data
  1. void
decrement()
Deprecated. Server side only method
  1. void
decrement(double val)
Deprecated. Server side only method
  1. Statistic
delta(Statistic otherStat)
Deprecated.
  1. double
getDouble()
Deprecated.
  1. void
increment()
Deprecated. Server side only method
  1. void
increment(double val)
Deprecated. Server side only method
  1. void
reset()
Deprecated. Reset the createTime
  1. void
reset(boolean resetAll)
Deprecated.
  1. void
resetOnClient(Statistic other)
Deprecated. Reset the data value to zero on client side.
  1. void
set(double count,long startTime,long lastSampleTime)
Deprecated.
  1. void
setDouble(double value)
Deprecated.
  1. java.lang.String
toString()
Deprecated.
  1. java.lang.String
toString(java.lang.String indent)
Deprecated.
  1. void
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

  1. protected double count
Deprecated.

Constructor Detail

DoubleStatisticImpl

  1. public DoubleStatisticImpl(int dataId)
Deprecated.

DoubleStatisticImpl

  1. public DoubleStatisticImpl(int dataId,
  2. double count,
  3. long startTime,
  4. long lastSampleTime)
Deprecated.

DoubleStatisticImpl

  1. public DoubleStatisticImpl(int id,
  2. java.lang.String name,
  3. java.lang.String unit,
  4. java.lang.String description,
  5. long startTime,
  6. long lastSampleTime)
Deprecated.

Method Detail

reset

  1. public void reset()
Deprecated.
Description copied from class: StatisticImpl
Reset the createTime
Overrides:
reset in class StatisticImpl

reset

  1. public void reset(boolean resetAll)
Deprecated.

set

  1. public void set(double count,
  2. long startTime,
  3. long lastSampleTime)
Deprecated.

getDouble

  1. public double getDouble()
Deprecated.

combine

  1. public void combine(Statistic otherStat)
Deprecated.
Description copied from class: StatisticImpl
Aggregate the value of parameter data to this data
Specified by:
Parameters:
otherStat - must have the same data ID and type

setDouble

  1. public void setDouble(double value)
Deprecated.

increment

  1. public void increment()
Deprecated.
Server side only method

increment

  1. public void increment(double val)
Deprecated.
Server side only method

decrement

  1. public void decrement()
Deprecated.
Server side only method

decrement

  1. public void decrement(double val)
Deprecated.
Server side only method

toString

  1. public java.lang.String toString( )
Deprecated.
Overrides:

toString

  1. public java.lang.String toString( java.lang.String indent)
Deprecated.
Overrides:

update

  1. public void update(Statistic otherStat)
Deprecated.
Description copied from class: StatisticImpl
Update itself with the new value in data.
Specified by:
Parameters:
otherStat - must have the same data ID and type

delta

  1. public Statistic delta(Statistic otherStat)
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

  1. 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:
Parameters:
other - must have the same data ID and type