|
Berkeley
DB Java Edition version 1.7.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 is configured to reset 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. |
int |
getShowProgressInterval()
Return the showProgressInterval value, if set. |
PrintStream |
getShowProgressStream()
Return the PrintStream on which the progress messages will be displayed during long running statistics gathering operations. |
void |
setClear(boolean clear)
Configure the statistics operation to reset 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. |
void |
setShowProgressInterval(int showProgressInterval)
When the statistics operation is configured to display progress the showProgressInterval is the number of LNs between each progress report. |
void |
setShowProgressStream(PrintStream showProgressStream)
Configure the statistics operation to display progress to the PrintStream argument. |
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)
The default value is false.
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.
fast
- If set to true, configure the statistics
operation to return only the values which do not incur some
performance penalty.
public boolean getFast()
public void setClear(boolean clear)
clear
- If set to true, configure the statistics
operation to reset statistics after they are returned.
public boolean getClear()
public void setShowProgressStream(PrintStream showProgressStream)
public PrintStream getShowProgressStream()
public void setShowProgressInterval(int showProgressInterval)
public int getShowProgressInterval()
|
Berkeley
DB Java Edition version 1.7.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |