|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.pooling.impl.BasicPoolStatistic
com.metamatrix.common.pooling.impl.statistics.AvgStat
public class AvgStat
AvgStat keeps all the values and averages then. The AvgStat is an average over time.
Field Summary |
---|
Fields inherited from class com.metamatrix.common.pooling.impl.BasicPoolStatistic |
---|
serialVersionUID, TYPE_AVG, TYPE_HIGHEST, TYPE_LOWEST, TYPE_SUM |
Fields inherited from interface com.metamatrix.common.pooling.api.PoolStatistic |
---|
AVG_AGGREGATE_TYPE, COMMON_AGGREGATE_TYPE, LEAST_RESENT_AGGREGATE_TYPE, MAX_AGGREGATE_TYPE, MIN_AGGREGATE_TYPE, MOST_RESENT_AGGREGATE_TYPE, NO_AGGREGATE_TYPE, SUM_AGGREGATE_TYPE |
Constructor Summary | |
---|---|
AvgStat(java.lang.String statName,
java.lang.String displayName,
java.lang.String description,
int aggregateType)
|
Method Summary | |
---|---|
java.lang.Object |
getValue()
Returns the statistic value |
void |
increment(long value)
|
void |
reset()
Called to reset the statistic |
Methods inherited from class com.metamatrix.common.pooling.impl.BasicPoolStatistic |
---|
decrement, decrement, getAggregationType, getDescription, getDisplayName, getName, getStartDateTime, increment, performReset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvgStat(java.lang.String statName, java.lang.String displayName, java.lang.String description, int aggregateType)
Method Detail |
---|
public void increment(long value)
increment
in class BasicPoolStatistic
public java.lang.Object getValue()
PoolStatistic
public void reset()
BasicPoolStatistic
reset
in class BasicPoolStatistic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |