|
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.CheckpointConfig
Specifies the attributes of an application invoked checkpoint operation.
Constructor Summary | |
CheckpointConfig()
An instance created using the default constructor is initialized with the system's default settings. |
Method Summary | |
boolean |
getForce()
Return the configuration of the checkpoint force option. |
int |
getKBytes()
Return the checkpoint log data threshold, in kilobytes. |
int |
getMinutes()
Return the checkpoint time threshold, in minutes. |
void |
setForce(boolean force)
Configure the checkpoint force option. |
void |
setKBytes(int kbytes)
Configure the checkpoint log data threshold, in kilobytes. |
void |
setMinutes(int minutes)
Configure the checkpoint time threshold, in minutes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CheckpointConfig()
Method Detail |
public void setKBytes(int kbytes)
kbytes
- If more than kbytes of log data have been written since the last
checkpoint, a checkpoint will be performed.
The default is 0 for this class and the database environment.
public int getKBytes()
public void setMinutes(int minutes)
minutes
- If more than min minutes have passed since the last checkpoint, a
checkpoint is performed.
The default is 0 for this class and the database environment.
public int getMinutes()
public void setForce(boolean force)
force
- If set to true, a checkpoint is done, disregarding any threshold
options.
The default is false for this class and the BDB JE environment.
public boolean getForce()
|
Berkeley DB Java Edition version 1.5.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |