IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.pmi.stat
Class RangeStatisticImpl

java.lang.Object
  extended by com.ibm.websphere.pmi.stat.StatisticImpl
      extended by com.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

public class RangeStatisticImpl
extends StatisticImpl
implements RangeStatistic

Implement RangeStatistic interface. Extended to provide time-weighted mean as well as current.

See Also:
Serialized Form

Field Summary
protected  long current
          Deprecated.  
protected  long highWaterMark
          Deprecated.  
protected  boolean initWaterMark
          Deprecated.  
protected  long integral
          Deprecated.  
protected  long lowWaterMark
          Deprecated.  
 
Constructor Summary
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
 void add(long val)
          Deprecated.  
 void add(long curTime, long val)
          Deprecated.  
 void cleanup()
          Deprecated.  
 void combine(Statistic otherStat)
          Deprecated. Aggregate the value of parameter data to this data
 void decrement()
          Deprecated. To be called on server side only
 void decrement(long decVal)
          Deprecated. To be called on server side only
 void decrement(long curTime, long val)
          Deprecated.  
 Statistic delta(Statistic otherStat)
          Deprecated.  
 long getCurrent()
          Deprecated.  
 long getHighWaterMark()
          Deprecated.  
 long getIntegral()
          Deprecated.  
 long getLowWaterMark()
          Deprecated.  
 double getMean()
          Deprecated.  
 void increment()
          Deprecated. To be called on server side only
 void increment(long incVal)
          Deprecated. To be called on server side only
 void increment(long curTime, long val)
          Deprecated.  
 long myupdate()
          Deprecated. Server side method in order to calculate the time-weighted mean.
 long myupdate(long curTime)
          Deprecated.  
 void reset()
          Deprecated. Reset the createTime
 void reset(boolean resetAll)
          Deprecated.  
 void resetOnClient(Statistic other)
          Deprecated. Reset the data value to zero on client side.
 void set(long lowWaterMark, long highWaterMark, long current, long integral, long startTime, long lastSampleTime)
          Deprecated.  
 void setLastValue(long val)
          Deprecated.  
 void setWaterMark(long val)
          Deprecated.  
protected  void setWaterMark(long val, long curTime)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 java.lang.String toString(java.lang.String indent)
          Deprecated.  
 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

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. 
Description copied from class: StatisticImpl
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

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

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

IBM WebSphere Application ServerTM
Release 8