com.ibm.websphere.pmi.stat
Class RangeStatisticImpl
- java.lang.Object
com.ibm.websphere.pmi.stat.StatisticImpl
com.ibm.websphere.pmi.stat.RangeStatisticImpl
All implemented interfaces:
RangeStatistic, Statistic, java.io.Serializable
Direct known subclasses:
Deprecated. As of 6.0, replaced with
WSRangeStatistic
- public class RangeStatisticImpl
- extends StatisticImpl
- implements RangeStatistic
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
current
Deprecated.
|
|
highWaterMark
Deprecated.
|
|
initWaterMark
Deprecated.
|
|
integral
Deprecated.
|
|
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 |
---|---|
|
add(long val)
Deprecated.
|
|
add(long curTime,long val)
Deprecated.
|
|
cleanup()
Deprecated.
|
|
combine(Statistic otherStat)
Deprecated. Aggregate the value of parameter data to this data
|
|
decrement()
Deprecated. To be called on server side only
|
|
decrement(long decVal)
Deprecated. To be called on server side only
|
|
decrement(long curTime,long val)
Deprecated.
|
delta(Statistic otherStat)
Deprecated.
|
|
|
getCurrent()
Deprecated.
|
|
getHighWaterMark()
Deprecated.
|
|
getIntegral()
Deprecated.
|
|
getLowWaterMark()
Deprecated.
|
|
getMean()
Deprecated.
|
|
increment()
Deprecated. To be called on server side only
|
|
increment(long incVal)
Deprecated. To be called on server side only
|
|
increment(long curTime,long val)
Deprecated.
|
|
myupdate()
Deprecated. Server side method in order to calculate the time-weighted mean.
|
|
myupdate(long curTime)
Deprecated.
|
|
reset()
Deprecated. Reset the createTime
|
|
reset(boolean resetAll)
Deprecated.
|
|
resetOnClient(Statistic other)
Deprecated. Reset the data value to zero on client side.
|
|
set(long lowWaterMark,long highWaterMark,long current,long integral,long startTime,long lastSampleTime)
Deprecated.
|
|
setLastValue(long val)
Deprecated.
|
|
setWaterMark(long val)
Deprecated.
|
|
setWaterMark(long val,long curTime)
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 |
Methods inherited from interface com.ibm.websphere.management.statistics.Statistic |
---|
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
Field Detail
highWaterMark
- protected long highWaterMark
Deprecated.
lowWaterMark
- protected long lowWaterMark
Deprecated.
current
- protected long current
Deprecated.
integral
- protected long integral
Deprecated.
initWaterMark
- protected boolean initWaterMark
Deprecated.
Constructor Detail
RangeStatisticImpl
- public RangeStatisticImpl(int dataId)
Deprecated.
RangeStatisticImpl
- public RangeStatisticImpl(int id,
- java.lang.String name,
- java.lang.String unit,
- java.lang.String description,
- long startTime,
- long lastSampleTime)
Deprecated.
RangeStatisticImpl
- public RangeStatisticImpl(int id,
- long lowWaterMark,
- long highWaterMark,
- long current,
- long integral,
- long startTime,
- long lastSampleTime)
Deprecated.
Method Detail
getLowWaterMark
- public long getLowWaterMark()
Deprecated.
Specified by:
getLowWaterMark
in interface RangeStatistic
getHighWaterMark
- public long getHighWaterMark()
Deprecated.
Specified by:
getHighWaterMark
in interface RangeStatistic
getCurrent
- public long getCurrent()
Deprecated.
Specified by:
getCurrent
in interface RangeStatistic
getIntegral
- public long getIntegral()
Deprecated.
getMean
- public double getMean()
Deprecated.
reset
- public void reset()
Deprecated.
Reset the createTime
Overrides:
reset
in class StatisticImpl
reset
- public void reset(boolean resetAll)
Deprecated.
setWaterMark
- public void setWaterMark(long val)
Deprecated.
setWaterMark
- protected void setWaterMark(long val,
- long curTime)
Deprecated.
set
- public void set(long lowWaterMark,
- long highWaterMark,
- long current,
- long integral,
- long startTime,
- long lastSampleTime)
Deprecated.
add
- public void add(long val)
Deprecated.
add
- public void add(long curTime,
- long val)
Deprecated.
increment
- public void increment()
Deprecated.
To be called on server side only
increment
- public void increment(long incVal)
Deprecated.
To be called on server side only
increment
- public void increment(long curTime,
- long val)
Deprecated.
decrement
- public void decrement()
Deprecated.
To be called on server side only
decrement
- public void decrement(long decVal)
Deprecated.
To be called on server side only
decrement
- public void decrement(long curTime,
- long val)
Deprecated.
myupdate
- public long myupdate()
Deprecated.
Server side method in order to calculate the time-weighted mean.
myupdate
- public long myupdate(long curTime)
Deprecated.
setLastValue
- public void setLastValue(long val)
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 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 cleanup
- public void cleanup()
Deprecated.
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
StatisticImpl