com.sleepycat.je.rep.utilint
Class IntRunningTotalStat

java.lang.Object
  extended by com.sleepycat.je.utilint.Stat<Integer>
      extended by com.sleepycat.je.utilint.IntStat
          extended by com.sleepycat.je.rep.utilint.IntRunningTotalStat
All Implemented Interfaces:
Serializable, Cloneable

public class IntRunningTotalStat
extends IntStat

Used to create running totals across the lifetime of the StatGroup. They cannot be cleared.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sleepycat.je.utilint.Stat
definition, FORMAT
 
Constructor Summary
IntRunningTotalStat(StatGroup group, StatDefinition definition)
           
 
Method Summary
 void clear()
          Initialize the stat to the proper value at startup, or reset the stat when copyAndClear() is called.
 
Methods inherited from class com.sleepycat.je.utilint.IntStat
add, add, get, getFormattedValue, 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

IntRunningTotalStat

public IntRunningTotalStat(StatGroup group,
                           StatDefinition definition)
Method Detail

clear

public void clear()
Description copied from class: Stat
Initialize the stat to the proper value at startup, or reset the stat when copyAndClear() is called.

Overrides:
clear in class IntStat


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