com.ibm.websphere.pmi.stat

Class TimeStatisticImpl

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

Deprecated. As of 6.0, replaced with WSTimeStatistic
  1. public class TimeStatisticImpl
  2. extends StatisticImpl
  3. implements TimeStatistic
WebSphere 5.0 Time statistic implementation.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. long
count
Deprecated.
  1. protected
  2. long
max
Deprecated.
  1. protected
  2. long
min
Deprecated.
  1. protected
  2. long
sumOfSquares
Deprecated.
  1. protected
  2. long
total
Deprecated.

Constructor Summary

Constructor and Description
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

Modifier and Type Method and Description
  1. void
add(long val)
Deprecated.
  1. void
combine(Statistic otherStat)
Deprecated. Aggregate the value of parameter data to this data
  1. Statistic
delta(Statistic otherStat)
Deprecated.
  1. long
getCount()
Deprecated.
  1. long
getMax()
Deprecated.
  1. long
getMaxTime()
Deprecated.
  1. double
getMean()
Deprecated.
  1. long
getMin()
Deprecated.
  1. long
getMinTime()
Deprecated.
  1. long
getSumOfSquares()
Deprecated.
  1. long
getTotal()
Deprecated.
  1. long
getTotalTime()
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 count,long min,long max,long total,long sumOfSquares,long startTime,long lastSampleTime)
Deprecated.
  1. void
setDataId(int id)
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.

min

  1. protected long min
Deprecated.

max

  1. protected long max
Deprecated.

total

  1. protected long total
Deprecated.

sumOfSquares

  1. protected long sumOfSquares
Deprecated.

Constructor Detail

TimeStatisticImpl

  1. public TimeStatisticImpl(int dataId)
Deprecated.

TimeStatisticImpl

  1. public TimeStatisticImpl(int count,
  2. int min,
  3. int max,
  4. int total,
  5. int sumOfSquares,
  6. int startTime,
  7. int lastSampleTime)
Deprecated.

TimeStatisticImpl

  1. public TimeStatisticImpl(int dataId,
  2. long count,
  3. long min,
  4. long max,
  5. long total,
  6. long sumOfSquares,
  7. long startTime,
  8. long lastSampleTime)
Deprecated.

TimeStatisticImpl

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

setDataId

  1. public void setDataId(int id)
Deprecated.

add

  1. public void add(long val)
Deprecated.

set

  1. public void set(long count,
  2. long min,
  3. long max,
  4. long total,
  5. long sumOfSquares,
  6. long startTime,
  7. long lastSampleTime)
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.

getCount

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

getTotal

  1. public long getTotal()
Deprecated.

getMean

  1. public double getMean()
Deprecated.

getMin

  1. public long getMin()
Deprecated.

getMax

  1. public long getMax()
Deprecated.

getTotalTime

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

getMinTime

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

getMaxTime

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

getSumOfSquares

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

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