|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.utilint.Stat<Integer>
com.sleepycat.je.utilint.AtomicIntStat
public class AtomicIntStat
A int JE stat.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.utilint.Stat |
---|
definition, FORMAT |
Constructor Summary | |
---|---|
AtomicIntStat(StatGroup group,
StatDefinition definition)
|
Method Summary | |
---|---|
void |
add(int count)
|
void |
add(Stat<Integer> other)
Add the value of "other" to this stat. |
void |
clear()
Initialize the stat to the proper value at startup, or reset the stat when copyAndClear() is called. |
AtomicIntStat |
copy()
|
Integer |
get()
|
protected String |
getFormattedValue()
Return a string with the stat value formatted as appropriate for its type. |
void |
increment()
|
boolean |
isNotSet()
Returns true if this stat is zero or null, as is appropriate for its type. |
void |
set(Integer newValue)
Set the stat value. |
Methods inherited from class com.sleepycat.je.utilint.Stat |
---|
copyAndClear, getDefinition, toString, toStringVerbose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AtomicIntStat(StatGroup group, StatDefinition definition)
Method Detail |
---|
public Integer get()
get
in class Stat<Integer>
public void set(Integer newValue)
Stat
set
in class Stat<Integer>
public void increment()
public void add(int count)
public void add(Stat<Integer> other)
Stat
add
in class Stat<Integer>
public void clear()
Stat
clear
in class Stat<Integer>
public AtomicIntStat copy()
copy
in class Stat<Integer>
protected String getFormattedValue()
Stat
getFormattedValue
in class Stat<Integer>
public boolean isNotSet()
Stat
isNotSet
in class Stat<Integer>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |