Berkeley DB Java Edition
version 1.5.1

com.sleepycat.je
Class VerifyConfig

java.lang.Object
  |
  +--com.sleepycat.je.VerifyConfig

public class VerifyConfig
extends Object

Specifies the attributes of a verification operation.


Constructor Summary
VerifyConfig()
          An instance created using the default constructor is initialized with the system's default settings.
 
Method Summary
 boolean getAggressive()
          Return if Environment.verify() and Database.verify() are configured to perform fine granularity consistency checking that includes verifying in memory constructs.
 boolean getPrintInfo()
          Return if the Environment.verify() and Database.verify() methods are configured to print basic verification information to System.out.
 boolean getPropagateExceptions()
          Return if Environment.verify() and Database.verify() are configured to propagate exceptions found during verification.
 void setAggressive(boolean aggressive)
          Configure Environment.verify() and Database.verify() to perform fine granularity consistency checking that includes verifying in memory constructs.
 void setPrintInfo(boolean printInfo)
          Configure the Environment.verify() and Database.verify() methods to print basic verification information to System.out.
 void setPropagateExceptions(boolean propagateExceptions)
          Configure Environment.verify() and Database.verify() to propagate exceptions found during verification.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyConfig

public VerifyConfig()
An instance created using the default constructor is initialized with the system's default settings.

Method Detail

setPropagateExceptions

public void setPropagateExceptions(boolean propagateExceptions)
Configure 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.

Parameters:
propagateExceptions - If set to true, Environment.verify() and Database.verify() will propagate exceptions found during the verify processing.

getPropagateExceptions

public boolean getPropagateExceptions()
Return if Environment.verify() and Database.verify() are configured to propagate exceptions found during verification.

Returns:
if Environment.verify() and Database.verify() are configured to propagate exceptions found during verification.

setAggressive

public void setAggressive(boolean aggressive)
Configure 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.

Parameters:
aggressive - If set to true, the Environment.verify() and Database.verify() methods do fine granularity consistency checking that includes verifying in memory constructs.

getAggressive

public boolean getAggressive()
Return if Environment.verify() and Database.verify() are configured to perform fine granularity consistency checking that includes verifying in memory constructs.

Returns:
If Environment.verify() and Database.verify() are configured to perform fine granularity consistency checking that includes verifying in memory constructs.

setPrintInfo

public void setPrintInfo(boolean printInfo)
Configure the Environment.verify() and Database.verify() methods to print basic verification information to System.out.

By default this is false.

Parameters:
printInfo - If set to true, the Environment.verify() and Database.verify() methods print basic verification information to System.out.

getPrintInfo

public boolean getPrintInfo()
Return if the Environment.verify() and Database.verify() methods are configured to print basic verification information to System.out.

Returns:
If the Environment.verify() and Database.verify() methods are configured to print basic verification information to System.out.

Berkeley DB Java Edition
version 1.5.1

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.