Package org.opends.server.tools
Class ListBackends
- java.lang.Object
-
- org.opends.server.tools.ListBackends
-
public class ListBackends extends Object
This program provides a utility that may be used to list the backends in the server, as well as to determine which backend holds a given entry.
-
-
Constructor Summary
Constructors Constructor Description ListBackends()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intlistBackends(String[] args, boolean initializeServer, OutputStream outStream, OutputStream errStream)Parses the provided command-line arguments and uses that information to list the backend information.static voidmain(String[] args)Parses the provided command-line arguments and uses that information to list the backend information.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Parses the provided command-line arguments and uses that information to list the backend information.- Parameters:
args- The command-line arguments provided to this program.
-
listBackends
public static int listBackends(String[] args, boolean initializeServer, OutputStream outStream, OutputStream errStream)
Parses the provided command-line arguments and uses that information to list the backend information.- 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, ornullif standard output is not needed.errStream- The output stream to use for standard error, ornullif standard error is not needed.- Returns:
- A return code indicating whether the processing was successful.
-
-