com.sleepycat.je.rep.utilint
Class LongMinZeroStat

java.lang.Object
  extended by com.sleepycat.je.utilint.Stat<Long>
      extended by com.sleepycat.je.utilint.LongStat
          extended by com.sleepycat.je.utilint.LongMinStat
              extended by com.sleepycat.je.rep.utilint.LongMinZeroStat
All Implemented Interfaces:
Serializable, Cloneable

public class LongMinZeroStat
extends LongMinStat

For stats where the min value in the range is zero, so that sums, averages, etc. based on positive ranges just work.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sleepycat.je.utilint.LongStat
counter
 
Fields inherited from class com.sleepycat.je.utilint.Stat
definition, FORMAT
 
Constructor Summary
LongMinZeroStat(StatGroup group, StatDefinition definition)
           
 
Method Summary
 Long get()
           
 
Methods inherited from class com.sleepycat.je.utilint.LongMinStat
clear, getFormattedValue, setMin
 
Methods inherited from class com.sleepycat.je.utilint.LongStat
add, add, increment, isNotSet, set
 
Methods inherited from class com.sleepycat.je.utilint.Stat
copy, copyAndClear, getDefinition, toString, toStringVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongMinZeroStat

public LongMinZeroStat(StatGroup group,
                       StatDefinition definition)
Method Detail

get

public Long get()
Overrides:
get in class LongStat
Returns:
the stat value.


Copyright (c) 2004-2012 Oracle. All rights reserved.