org.opends.server.backends.jeb
Class VerifyJob

java.lang.Object
  extended by org.opends.server.backends.jeb.VerifyJob

public class VerifyJob
extends java.lang.Object

This class is used to run an index verification process on the backend.


Constructor Summary
VerifyJob(VerifyConfig verifyConfig)
          Construct a VerifyJob.
 
Method Summary
 long verifyBackend(RootContainer rootContainer, Entry statEntry)
          Verify the backend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyJob

public VerifyJob(VerifyConfig verifyConfig)
Construct a VerifyJob.

Parameters:
verifyConfig - The verify configuration.
Method Detail

verifyBackend

public long verifyBackend(RootContainer rootContainer,
                          Entry statEntry)
                   throws com.sleepycat.je.DatabaseException,
                          JebException,
                          DirectoryException
Verify the backend.

Parameters:
rootContainer - The root container that holds the entries to verify.
statEntry - Optional statistics entry.
Returns:
The error count.
Throws:
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
JebException - If an error occurs in the JE backend.
DirectoryException - If an error occurs while verifying the backend.