|
|||||||||
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. |
LDiffConfig |
setBlockSize(int size)
Configure the number of records to include in each block analyzed by the LDiff operation. |
void |
setBlockSizeVoid(int size)
|
LDiffConfig |
setDiffAnalysis(boolean analysis)
Configure an LDiff object to provide detailed analysis about diff failures. |
void |
setDiffAnalysisVoid(boolean analysis)
|
LDiffConfig |
setMaxConnectionAttempts(int maxAttempts)
|
void |
setMaxConnectionAttemptsVoid(int maxAttempts)
|
LDiffConfig |
setMaxErrors(int max)
Configure the maximum number of errors to be analyzed before ending the LDiff operation. |
void |
setMaxErrorsVoid(int max)
|
LDiffConfig |
setReconnectDelay(int delay)
|
void |
setReconnectDelayVoid(int delay)
|
LDiffConfig |
setVerbose(boolean verbose)
Configure whether or not the operation will output information on its success or failure. |
void |
setVerboseVoid(boolean verbose)
|
LDiffConfig |
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. |
void |
setWaitIfBusyVoid(boolean wait)
|
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 LDiffConfig setMaxErrors(int max)
max
- the maximum number of errors to be analyzed before ending the
LDiff operation.public void setMaxErrorsVoid(int max)
public boolean getDiffAnalysis()
public LDiffConfig setDiffAnalysis(boolean analysis)
analysis
- if true, provides detailed analysis about the reason why
the diff failed. The detailed analysis can be time consuming.public void setDiffAnalysisVoid(boolean analysis)
public int getBlockSize()
public LDiffConfig setBlockSize(int size)
size
- the number of records to include in each block analyzed by
the LDiff operation.public void setBlockSizeVoid(int size)
public boolean getWaitIfBusy()
public int getMaxConnectionAttempts()
public int getReconnectDelay()
public LDiffConfig 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 void setWaitIfBusyVoid(boolean wait)
public LDiffConfig setMaxConnectionAttempts(int maxAttempts)
public void setMaxConnectionAttemptsVoid(int maxAttempts)
public LDiffConfig setReconnectDelay(int delay)
public void setReconnectDelayVoid(int delay)
public boolean getVerbose()
public LDiffConfig setVerbose(boolean verbose)
verbose
- if true, the LDiff operation will output information
as it compares databasespublic void setVerboseVoid(boolean verbose)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |