com.ibm.websphere.pmi.stat

Class CountStatisticImpl

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

Deprecated. As of 6.0, replaced with WSCountStatistic
  1. public class CountStatisticImpl
  2. extends StatisticImpl
  3. implements CountStatistic
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. long
count
Deprecated.

Constructor Summary

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.

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(long val)
Deprecated. Server side only method
  1. Statistic
delta(Statistic otherStat)
Deprecated.
  1. long
getCount()
Deprecated.
  1. void
increment()
Deprecated. Server side only method
  1. void
increment(long 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(long count,long startTime,long lastSampleTime)
Deprecated.
  1. void
setCount(long 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
Methods inherited from interface com.ibm.websphere.management.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit

Field Detail

count

  1. protected long count
Deprecated.

Constructor Detail

CountStatisticImpl

  1. public CountStatisticImpl(int dataId)
Deprecated.

CountStatisticImpl

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

CountStatisticImpl

  1. public CountStatisticImpl(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

getCount

  1. public long getCount()
Deprecated.
Specified by:
getCount in interface CountStatistic

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(long count,
  2. long startTime,
  3. long lastSampleTime)
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

setCount

  1. public void setCount(long value)
Deprecated.

increment

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

increment

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

decrement

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

decrement

  1. public void decrement(long 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