Class 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 Detail

      • ListBackends

        public ListBackends()
    • 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, 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:
        A return code indicating whether the processing was successful.