org.opends.server.tools
Class RebuildIndex

java.lang.Object
  extended by org.opends.server.tools.RebuildIndex

public class RebuildIndex
extends java.lang.Object

This program provides a utility to rebuild the contents of the indexes of a Directory Server backend. This will be a process that is intended to run separate from Directory Server and not internally within the server process (e.g., via the tasks interface).


Constructor Summary
RebuildIndex()
           
 
Method Summary
static void main(java.lang.String[] args)
          Processes the command-line arguments and invokes the rebuild process.
static int mainRebuildIndex(java.lang.String[] args, boolean initializeServer, java.io.OutputStream outStream, java.io.OutputStream errStream)
          Processes the command-line arguments and invokes the rebuild process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebuildIndex

public RebuildIndex()
Method Detail

main

public static void main(java.lang.String[] args)
Processes the command-line arguments and invokes the rebuild process.

Parameters:
args - The command-line arguments provided to this program.

mainRebuildIndex

public static int mainRebuildIndex(java.lang.String[] args,
                                   boolean initializeServer,
                                   java.io.OutputStream outStream,
                                   java.io.OutputStream errStream)
Processes the command-line arguments and invokes the rebuild process.

Parameters:
args - The command-line arguments provided to this program.
initializeServer - Indicates whether to initialize the server.
outStream - The output stream to use for standard output, or null if standard output is not needed.
errStream - The output stream to use for standard error, or null if standard error is not needed.
Returns:
The error code.