public class LogVerifyConfig
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
LogVerifyConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getCacheSize()
Return the internal database environment cache size.
|
boolean |
getContinueAfterFail()
Return if continue after a failed check.
|
java.lang.String |
getDbFile()
Return the database file name whose logs we will verify.
|
java.lang.String |
getDbName()
Return the database name whose logs we will verify.
|
LogSequenceNumber |
getEndLsn()
Return the ending lsn to verify.
|
java.util.Date |
getEndTime()
Return the ending time to verify.
|
java.lang.String |
getEnvHome()
Return the home directory to use by the log verification internally.
|
LogSequenceNumber |
getStartLsn()
Return the starting lsn to verify.
|
java.util.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(java.lang.String file)
Set the database file name whose logs we will verify.
|
void |
setDbName(java.lang.String name)
Set the database name whose logs we will verify.
|
void |
setEndLsn(LogSequenceNumber endlsn)
Set the ending lsn to verify.
|
void |
setEndTime(java.util.Date etime)
Set the ending lsn to verify.
|
void |
setEnvHome(java.lang.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(java.util.Date stime)
Set the starting time to verify.
|
void |
setVerbose(boolean verbs)
Set if print verbose information.
|
public java.lang.String getEnvHome()
public void setEnvHome(java.lang.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.
java.lang.IllegalArgumentException
- if home is an empty string.public int getCacheSize()
public void setCacheSize(int cachesize)
cachesize
- The internal database environment cache size.public java.lang.String getDbFile()
public void setDbFile(java.lang.String file)
file
- The database file name whose logs we will verify.public java.lang.String getDbName()
public void setDbName(java.lang.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 java.util.Date getStartTime()
public void setStartTime(java.util.Date stime)
stime
- The starting time to verify.public java.util.Date getEndTime()
public void setEndTime(java.util.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.Copyright (c) 1996, 2019 Oracle and/or its affiliates. All rights reserved.