com.metamatrix.common.pooling.impl.statistics
Class LowestValueStat

java.lang.Object
  extended by com.metamatrix.common.pooling.impl.BasicPoolStatistic
      extended by com.metamatrix.common.pooling.impl.statistics.LowestValueStat
All Implemented Interfaces:
PoolStatistic, java.io.Serializable

public class LowestValueStat
extends BasicPoolStatistic

LowestValueStat tracks the lowest values.

See Also:
Serialized Form

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
LowestValueStat(java.lang.String statName, java.lang.String displayName, java.lang.String description, int aggregateType)
           
 
Method Summary
 void decrement(long value)
           
 java.lang.Object getValue()
          Returns the statistic value
 void reset()
          Called to reset the statistic
 
Methods inherited from class com.metamatrix.common.pooling.impl.BasicPoolStatistic
decrement, getAggregationType, getDescription, getDisplayName, getName, getStartDateTime, increment, increment, performReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowestValueStat

public LowestValueStat(java.lang.String statName,
                       java.lang.String displayName,
                       java.lang.String description,
                       int aggregateType)
Method Detail

decrement

public void decrement(long value)
Overrides:
decrement in class BasicPoolStatistic

getValue

public java.lang.Object getValue()
Description copied from interface: PoolStatistic
Returns the statistic value

Returns:
Number statistic value

reset

public void reset()
Description copied from class: BasicPoolStatistic
Called to reset the statistic

Specified by:
reset in class BasicPoolStatistic


Copyright © 2009. All Rights Reserved.