com.ibm.websphere.pmi.stat

Class RangeStatisticImpl

  1. java.lang.Object
  2. extended bycom.ibm.websphere.pmi.stat.StatisticImpl
  3. extended bycom.ibm.websphere.pmi.stat.RangeStatisticImpl
All implemented interfaces:
RangeStatistic, Statistic, java.io.Serializable
Direct known subclasses:
BoundedRangeStatisticImpl

Deprecated. As of 6.0, replaced with WSRangeStatistic
  1. public class RangeStatisticImpl
  2. extends StatisticImpl
  3. implements RangeStatistic
Implement RangeStatistic interface. Extended to provide time-weighted mean as well as current.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. long
current
Deprecated.
  1. protected
  2. long
highWaterMark
Deprecated.
  1. protected
  2. boolean
initWaterMark
Deprecated.
  1. protected
  2. long
integral
Deprecated.
  1. protected
  2. long
lowWaterMark
Deprecated.

Constructor Summary

Constructor and Description
RangeStatisticImpl(int dataId)
Deprecated.
RangeStatisticImpl(int id,long lowWaterMark,long highWaterMark,long current,long integral,long startTime,long lastSampleTime)
Deprecated.
RangeStatisticImpl(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
add(long val)
Deprecated.
  1. void
add(long curTime,long val)
Deprecated.
  1. void
cleanup()
Deprecated.
  1. void
combine(Statistic otherStat)
Deprecated. Aggregate the value of parameter data to this data
  1. void
decrement()
Deprecated. To be called on server side only
  1. void
decrement(long decVal)
Deprecated. To be called on server side only
  1. void
decrement(long curTime,long val)
Deprecated.
  1. Statistic
delta(Statistic otherStat)
Deprecated.
  1. long
getCurrent()
Deprecated.
  1. long
getHighWaterMark()
Deprecated.
  1. long
getIntegral()
Deprecated.
  1. long
getLowWaterMark()
Deprecated.
  1. double
getMean()
Deprecated.
  1. void
increment()
Deprecated. To be called on server side only
  1. void
increment(long incVal)
Deprecated. To be called on server side only
  1. void
increment(long curTime,long val)
Deprecated.
  1. long
myupdate()
Deprecated. Server side method in order to calculate the time-weighted mean.
  1. long
myupdate(long curTime)
Deprecated.
  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 lowWaterMark,long highWaterMark,long current,long integral,long startTime,long lastSampleTime)
Deprecated.
  1. void
setLastValue(long val)
Deprecated.
  1. void
setWaterMark(long val)
Deprecated.
  1. protected
  2. void
setWaterMark(long val,long curTime)
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

highWaterMark

  1. protected long highWaterMark
Deprecated.

lowWaterMark

  1. protected long lowWaterMark
Deprecated.

current

  1. protected long current
Deprecated.

integral

  1. protected long integral
Deprecated.

initWaterMark

  1. protected boolean initWaterMark
Deprecated.

Constructor Detail

RangeStatisticImpl

  1. public RangeStatisticImpl(int dataId)
Deprecated.

RangeStatisticImpl

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

RangeStatisticImpl

  1. public RangeStatisticImpl(int id,
  2. long lowWaterMark,
  3. long highWaterMark,
  4. long current,
  5. long integral,
  6. long startTime,
  7. long lastSampleTime)
Deprecated.

Method Detail

getLowWaterMark

  1. public long getLowWaterMark()
Deprecated.
Specified by:

getHighWaterMark

  1. public long getHighWaterMark()
Deprecated.
Specified by:

getCurrent

  1. public long getCurrent()
Deprecated.
Specified by:
getCurrent in interface RangeStatistic

getIntegral

  1. public long getIntegral()
Deprecated.

getMean

  1. public double getMean()
Deprecated.

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.

setWaterMark

  1. public void setWaterMark(long val)
Deprecated.

setWaterMark

  1. protected void setWaterMark(long val,
  2. long curTime)
Deprecated.

set

  1. public void set(long lowWaterMark,
  2. long highWaterMark,
  3. long current,
  4. long integral,
  5. long startTime,
  6. long lastSampleTime)
Deprecated.

add

  1. public void add(long val)
Deprecated.

add

  1. public void add(long curTime,
  2. long val)
Deprecated.

increment

  1. public void increment()
Deprecated.
To be called on server side only

increment

  1. public void increment(long incVal)
Deprecated.
To be called on server side only

increment

  1. public void increment(long curTime,
  2. long val)
Deprecated.

decrement

  1. public void decrement()
Deprecated.
To be called on server side only

decrement

  1. public void decrement(long decVal)
Deprecated.
To be called on server side only

decrement

  1. public void decrement(long curTime,
  2. long val)
Deprecated.

myupdate

  1. public long myupdate()
Deprecated.
Server side method in order to calculate the time-weighted mean.

myupdate

  1. public long myupdate(long curTime)
Deprecated.

setLastValue

  1. public void setLastValue(long val)
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

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

cleanup

  1. public void cleanup()
Deprecated.

toString

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

toString

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