|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.LogVerifyConfig
public class LogVerifyConfig
Specify the attributes of a database.
Constructor Summary | |
---|---|
LogVerifyConfig()
|
Method Summary | |
---|---|
int |
getCacheSize()
Return the internal database environment cache size. |
boolean |
getContinueAfterFail()
Return if continue after a failed check. |
String |
getDbFile()
Return the database file name whose logs we will verify. |
String |
getDbName()
Return the database name whose logs we will verify. |
LogSequenceNumber |
getEndLsn()
Return the ending lsn to verify. |
Date |
getEndTime()
Return the ending time to verify. |
String |
getEnvHome()
Return the home directory to use by the log verification internally. |
LogSequenceNumber |
getStartLsn()
Return the starting lsn to verify. |
Date |
getStartTime()
Return the starting time to verify. |
boolean |
getVerbose()
Return if print verbose information. |
void |
setCacheSize(int cachesize)
Set the internal database environment cache size. |
void |
setContinueAfterFail(boolean caf)
Set if continue after a failed check. |
void |
setDbFile(String file)
Set the database file name whose logs we will verify. |
void |
setDbName(String name)
Set the database name whose logs we will verify. |
void |
setEndLsn(LogSequenceNumber endlsn)
Set the ending lsn to verify. |
void |
setEndTime(Date etime)
Set the ending lsn to verify. |
void |
setEnvHome(String home)
Set the home directory to use by the log verification internally. |
void |
setStartLsn(LogSequenceNumber stLsn)
Set the starting lsn to verify. |
void |
setStartTime(Date stime)
Set the starting time to verify. |
void |
setVerbose(boolean verbs)
Set if print verbose information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogVerifyConfig()
Method Detail |
---|
public String getEnvHome()
public void setEnvHome(String home)
home
- The home directory of the internal database environment we use to store
intermediate data during the verification process, can be null, meaning
we will create the environment and all databases in memory, which can be
overwhelming if the log takes up more space than available memory.
IllegalArgumentException
- if home is an empty string.public int getCacheSize()
public void setCacheSize(int cachesize)
cachesize
- The internal database environment cache size.public String getDbFile()
public void setDbFile(String file)
file
- The database file name whose logs we will verify.public String getDbName()
public void setDbName(String name)
name
- The database name whose logs we will verify.public LogSequenceNumber getStartLsn()
public void setStartLsn(LogSequenceNumber stLsn)
stLsn
- The starting lsn to verify.public LogSequenceNumber getEndLsn()
public void setEndLsn(LogSequenceNumber endlsn)
endlsn
- The ending lsn to verify.public Date getStartTime()
public void setStartTime(Date stime)
stime
- The starting time to verify.public Date getEndTime()
public void setEndTime(Date etime)
etime
- The ending time to verify.public boolean getContinueAfterFail()
public void setContinueAfterFail(boolean caf)
caf
- If continue after a failed check.public boolean getVerbose()
public void setVerbose(boolean verbs)
verbs
- If print verbose information.
|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |