IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.pmi.stat
Class TimeStatisticImpl

java.lang.Object
  extended by com.ibm.websphere.pmi.stat.StatisticImpl
      extended by com.ibm.websphere.pmi.stat.TimeStatisticImpl
All Implemented Interfaces:
Statistic, TimeStatistic, java.io.Serializable

Deprecated. As of 6.0, replaced with WSTimeStatistic

public class TimeStatisticImpl
extends StatisticImpl
implements TimeStatistic

WebSphere 5.0 Time statistic implementation.

See Also:
Serialized Form

Field Summary
protected  long count
          Deprecated.  
protected  long max
          Deprecated.  
protected  long min
          Deprecated.  
protected  long sumOfSquares
          Deprecated.  
protected  long total
          Deprecated.  
 
Constructor Summary
TimeStatisticImpl(int dataId)
          Deprecated.  
TimeStatisticImpl(int count, int min, int max, int total, int sumOfSquares, int startTime, int lastSampleTime)
          Deprecated.  
TimeStatisticImpl(int dataId, long count, long min, long max, long total, long sumOfSquares, long startTime, long lastSampleTime)
          Deprecated.  
TimeStatisticImpl(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 combine(Statistic otherStat)
          Deprecated. Aggregate the value of parameter data to this data
 Statistic delta(Statistic otherStat)
          Deprecated.  
 long getCount()
          Deprecated.  
 long getMax()
          Deprecated.  
 long getMaxTime()
          Deprecated.  
 double getMean()
          Deprecated.  
 long getMin()
          Deprecated.  
 long getMinTime()
          Deprecated.  
 long getSumOfSquares()
          Deprecated.  
 long getTotal()
          Deprecated.  
 long getTotalTime()
          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 count, long min, long max, long total, long sumOfSquares, long startTime, long lastSampleTime)
          Deprecated.  
 void setDataId(int id)
          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

count

protected long count
Deprecated. 

min

protected long min
Deprecated. 

max

protected long max
Deprecated. 

total

protected long total
Deprecated. 

sumOfSquares

protected long sumOfSquares
Deprecated. 
Constructor Detail

TimeStatisticImpl

public TimeStatisticImpl(int dataId)
Deprecated. 

TimeStatisticImpl

public TimeStatisticImpl(int count,
                         int min,
                         int max,
                         int total,
                         int sumOfSquares,
                         int startTime,
                         int lastSampleTime)
Deprecated. 

TimeStatisticImpl

public TimeStatisticImpl(int dataId,
                         long count,
                         long min,
                         long max,
                         long total,
                         long sumOfSquares,
                         long startTime,
                         long lastSampleTime)
Deprecated. 

TimeStatisticImpl

public TimeStatisticImpl(int id,
                         java.lang.String name,
                         java.lang.String unit,
                         java.lang.String description,
                         long startTime,
                         long lastSampleTime)
Deprecated. 
Method Detail

setDataId

public void setDataId(int id)
Deprecated. 

add

public void add(long val)
Deprecated. 

set

public void set(long count,
                long min,
                long max,
                long total,
                long sumOfSquares,
                long startTime,
                long lastSampleTime)
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. 

getCount

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

getTotal

public long getTotal()
Deprecated. 

getMean

public double getMean()
Deprecated. 

getMin

public long getMin()
Deprecated. 

getMax

public long getMax()
Deprecated. 

getTotalTime

public long getTotalTime()
Deprecated. 
Specified by:
getTotalTime in interface TimeStatistic

getMinTime

public long getMinTime()
Deprecated. 
Specified by:
getMinTime in interface TimeStatistic

getMaxTime

public long getMaxTime()
Deprecated. 
Specified by:
getMaxTime in interface TimeStatistic

getSumOfSquares

public long getSumOfSquares()
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

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

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

IBM WebSphere Application ServerTM
Release 8