|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.pmi.stat.StatisticImpl
com.ibm.websphere.pmi.stat.TimeStatisticImpl
WSTimeStatistic
public class TimeStatisticImpl
WebSphere 5.0 Time statistic implementation.
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 |
---|
protected long count
protected long min
protected long max
protected long total
protected long sumOfSquares
Constructor Detail |
---|
public TimeStatisticImpl(int dataId)
public TimeStatisticImpl(int count, int min, int max, int total, int sumOfSquares, int startTime, int lastSampleTime)
public TimeStatisticImpl(int dataId, long count, long min, long max, long total, long sumOfSquares, long startTime, long lastSampleTime)
public TimeStatisticImpl(int id, java.lang.String name, java.lang.String unit, java.lang.String description, long startTime, long lastSampleTime)
Method Detail |
---|
public void setDataId(int id)
public void add(long val)
public void set(long count, long min, long max, long total, long sumOfSquares, long startTime, long lastSampleTime)
public void reset()
StatisticImpl
reset
in class StatisticImpl
public void reset(boolean resetAll)
public long getCount()
getCount
in interface TimeStatistic
public long getTotal()
public double getMean()
public long getMin()
public long getMax()
public long getTotalTime()
getTotalTime
in interface TimeStatistic
public long getMinTime()
getMinTime
in interface TimeStatistic
public long getMaxTime()
getMaxTime
in interface TimeStatistic
public long getSumOfSquares()
public void combine(Statistic otherStat)
StatisticImpl
combine
in class StatisticImpl
otherStat
- must have the same data ID and typepublic java.lang.String toString()
toString
in class StatisticImpl
public java.lang.String toString(java.lang.String indent)
toString
in class StatisticImpl
public void update(Statistic otherStat)
StatisticImpl
update
in class StatisticImpl
otherStat
- must have the same data ID and typepublic Statistic delta(Statistic otherStat)
delta
in class StatisticImpl
otherStat
- must have the same data ID and type
public void resetOnClient(Statistic other)
StatisticImpl
resetOnClient
in class StatisticImpl
other
- must have the same data ID and type
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |