|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.util.ldiff.LDiffConfig
public class LDiffConfig
Field Summary | |
---|---|
boolean |
verbose
|
Constructor Summary | |
---|---|
LDiffConfig()
|
Method Summary | |
---|---|
int |
getBlockSize()
Return the number of records to include in each block analyzed by the LDiff operation. |
boolean |
getDiffAnalysis()
Return whether an LDiff object will provide detailed analysis about diff failures. |
int |
getMaxConnectionAttempts()
Return the maximum number of times the operation will attempt to connect to the remote service before aborting. |
int |
getMaxErrors()
Return the maximum number of errors to analyze before ending the LDiff operation. |
int |
getReconnectDelay()
Return the delay, in milliseconds, between reconnect attempts. |
boolean |
getVerbose()
Return whether or not the operation will output information on its success or failure. |
boolean |
getWaitIfBusy()
Return whether or not the operation will wait for the remote service to become available if the remote service is busy. |
void |
setBlockSize(int size)
Configure the number of records to include in each block analyzed by the LDiff operation. |
void |
setDiffAnalysis(boolean analysis)
Configure an LDiff object to provide detailed analysis about diff failures. |
void |
setMaxErrors(int max)
Configure the maximum number of errors to be analyzed before ending the LDiff operation. |
void |
setVerbose(boolean verbose)
Configure whether or not the operation will output information on its success or failure. |
void |
setWaitIfBusy(boolean wait,
int maxAttempts,
int delay)
Configure whether or not the operation should wait for the remote service to become available, if the remote service is busy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean verbose
Constructor Detail |
---|
public LDiffConfig()
Method Detail |
---|
public int getMaxErrors()
public void setMaxErrors(int max)
max
- the maximum number of errors to be analyzed before ending the
LDiff operation.public boolean getDiffAnalysis()
public void setDiffAnalysis(boolean analysis)
analysis
- if true, provides detailed analysis about the reason why
the diff failed. The detailed analysis can be time consuming.public int getBlockSize()
public void setBlockSize(int size)
size
- the number of records to include in each block analyzed by
the LDiff operation.public boolean getWaitIfBusy()
public int getMaxConnectionAttempts()
public int getReconnectDelay()
public void setWaitIfBusy(boolean wait, int maxAttempts, int delay)
wait
- if true, the LDiff operation will block until the remote
node is availablemaxAttempts
- the number of times to attempt connecting to
the service before aborting. Pass -1 to never abort.delay
- the number of milliseconds to wait between connection
attempts.public boolean getVerbose()
public void setVerbose(boolean verbose)
verbose
- if true, the LDiff operation will output information
as it compares databases
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |