|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.utilint.Stat<Boolean>
com.sleepycat.je.utilint.BooleanStat
public class BooleanStat
A boolean JE stat.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.utilint.Stat |
---|
definition, FORMAT |
Constructor Summary | |
---|---|
BooleanStat(StatGroup group,
StatDefinition definition)
|
Method Summary | |
---|---|
void |
add(Stat<Boolean> otherStat)
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. |
Boolean |
get()
|
protected String |
getFormattedValue()
Return a string with the stat value formatted as appropriate for its type. |
boolean |
isNotSet()
Returns true if this stat is zero or null, as is appropriate for its type. |
void |
set(Boolean newValue)
Set the stat value. |
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 |
---|
public BooleanStat(StatGroup group, StatDefinition definition)
Method Detail |
---|
public Boolean get()
get
in class Stat<Boolean>
public void set(Boolean newValue)
Stat
set
in class Stat<Boolean>
public void add(Stat<Boolean> otherStat)
Stat
add
in class Stat<Boolean>
public void clear()
Stat
clear
in class Stat<Boolean>
protected String getFormattedValue()
Stat
getFormattedValue
in class Stat<Boolean>
public boolean isNotSet()
Stat
isNotSet
in class Stat<Boolean>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |