|
Berkeley DB Java Edition version 1.5.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sleepycat.je.StatsConfig
Specifies the attributes of a statistics retrieval operation.
Constructor Summary | |
StatsConfig()
An instance created using the default constructor is initialized with the system's default settings. |
Method Summary | |
boolean |
getClear()
Return if the statistics operation are configured to reset all statistics after they are returned. |
boolean |
getFast()
Return if the statistics operation is configured to return only the values which do not require expensive actions such as traversal of the database or in-memory tree. |
void |
setClear(boolean clear)
Configure the statistics operation to reset all statistics after they are returned. |
void |
setFast(boolean fast)
Configure the statistics operation to return only the values which do not incur some performance penalty. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatsConfig()
Method Detail |
public void setFast(boolean fast)
fast
- If set to true, configure the statistics operation to return
only the values which do not incur some performance penalty. For
example, skip stats that require a traversal of the database or
in-memory tree, or which lock down the lock table for a period
of time.public boolean getFast()
public void setClear(boolean clear)
clear
- If set to true, configure the statistics operation to reset all
statistics after they are returned.public boolean getClear()
|
Berkeley DB Java Edition version 1.5.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |