Modifier and Type | Field and Description |
---|---|
static VerifyConfig |
DEFAULT |
Constructor and Description |
---|
VerifyConfig()
An instance created using the default constructor is initialized with
the system's default settings.
|
Modifier and Type | Method and Description |
---|---|
VerifyConfig |
clone()
Returns a copy of this configuration object.
|
boolean |
getAggressive()
Returns true if the
Environment.verify and Database.verify are configured to perform fine granularity consistency
checking that includes verifying in memory constructs. |
boolean |
getPrintInfo()
Returns true if the
Environment.verify and Database.verify are configured to print basic verification information
to System.out. |
boolean |
getPropagateExceptions()
Returns true if the
Environment.verify and Database.verify are configured to propagate exceptions found during
verification. |
int |
getShowProgressInterval()
Returns the showProgressInterval value, if set.
|
PrintStream |
getShowProgressStream()
Returns the PrintStream on which the progress messages will be displayed
during long running verify operations.
|
VerifyConfig |
setAggressive(boolean aggressive)
Configures
Environment.verify and Database.verify to perform fine granularity consistency checking that
includes verifying in memory constructs. |
void |
setAggressiveVoid(boolean aggressive) |
VerifyConfig |
setPrintInfo(boolean printInfo)
Configures
Environment.verify and Database.verify to print basic verification information to System.out. |
void |
setPrintInfoVoid(boolean printInfo) |
VerifyConfig |
setPropagateExceptions(boolean propagate)
Configures
Environment.verify and Database.verify to propagate exceptions found during verification. |
void |
setPropagateExceptionsVoid(boolean propagate) |
VerifyConfig |
setShowProgressInterval(int showProgressInterval)
When the verify operation is configured to display progress the
showProgressInterval is the number of LNs between each progress report.
|
void |
setShowProgressIntervalVoid(int showProgressInterval) |
VerifyConfig |
setShowProgressStream(PrintStream showProgressStream)
Configures the verify operation to display progress to the PrintStream
argument.
|
void |
setShowProgressStreamVoid(PrintStream showProgressStream) |
String |
toString()
Returns the values for each configuration attribute.
|
public static final VerifyConfig DEFAULT
public VerifyConfig()
public VerifyConfig setPropagateExceptions(boolean propagate)
Environment.verify
and Database.verify
to propagate exceptions found during verification.
By default this is false and exception information is printed to System.out for notification but does not stop the verification activity, which continues on for as long as possible.
propagate
- If set to true, configure Environment.verify
and Database.verify
to propagate
exceptions found during verification.public void setPropagateExceptionsVoid(boolean propagate)
public boolean getPropagateExceptions()
Environment.verify
and Database.verify
are configured to propagate exceptions found during
verification.
This method may be called at any time during the life of the application.
Environment.verify
and Database.verify
are configured to propagate exceptions found during
verification.public VerifyConfig setAggressive(boolean aggressive)
Environment.verify
and Database.verify
to perform fine granularity consistency checking that
includes verifying in memory constructs.
This level of checking should only be performed while the database environment is quiescent.
By default this is false.
aggressive
- If set to true, configure Environment.verify
and Database.verify
to perform fine
granularity consistency checking that includes verifying in memory
constructs.public void setAggressiveVoid(boolean aggressive)
public boolean getAggressive()
Environment.verify
and Database.verify
are configured to perform fine granularity consistency
checking that includes verifying in memory constructs.
This method may be called at any time during the life of the application.
Environment.verify
and Database.verify
are configured to perform fine granularity consistency
checking that includes verifying in memory constructs.public VerifyConfig setPrintInfo(boolean printInfo)
Environment.verify
and Database.verify
to print basic verification information to System.out.
By default this is false.
printInfo
- If set to true, configure Environment.verify
and Database.verify
to print basic
verification information to System.out.public void setPrintInfoVoid(boolean printInfo)
public boolean getPrintInfo()
Environment.verify
and Database.verify
are configured to print basic verification information
to System.out.
This method may be called at any time during the life of the application.
Environment.verify
and Database.verify
are configured to print basic verification information
to System.out.public VerifyConfig setShowProgressStream(PrintStream showProgressStream)
public void setShowProgressStreamVoid(PrintStream showProgressStream)
public PrintStream getShowProgressStream()
public VerifyConfig setShowProgressInterval(int showProgressInterval)
public void setShowProgressIntervalVoid(int showProgressInterval)
public int getShowProgressInterval()
public VerifyConfig clone()
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.