Package alluxio.cli

Class GetConf


  • @PublicApi
    public final class GetConf
    extends java.lang.Object
    Utility for printing Alluxio configuration.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getConf​(alluxio.ClientContext ctx, java.lang.String... args)
      Implements get configuration.
      static int getConfImpl​(java.util.function.Supplier<alluxio.client.meta.RetryHandlingMetaMasterConfigClient> clientSupplier, alluxio.conf.AlluxioConfiguration alluxioConf, java.lang.String... args)
      Implements get configuration.
      static void main​(java.lang.String[] args)
      Prints Alluxio configuration.
      static void printHelp​(java.lang.String message)
      Prints the help message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • printHelp

        public static void printHelp​(java.lang.String message)
        Prints the help message.
        Parameters:
        message - message before standard usage information
      • getConf

        public static int getConf​(alluxio.ClientContext ctx,
                                  java.lang.String... args)
        Implements get configuration.
        Parameters:
        ctx - Alluxio client configuration
        args - list of arguments
        Returns:
        0 on success, 1 on failures
      • getConfImpl

        public static int getConfImpl​(java.util.function.Supplier<alluxio.client.meta.RetryHandlingMetaMasterConfigClient> clientSupplier,
                                      alluxio.conf.AlluxioConfiguration alluxioConf,
                                      java.lang.String... args)
        Implements get configuration.
        Parameters:
        clientSupplier - a functor to return a config client of meta master
        alluxioConf - Alluxio configuration
        args - list of arguments
        Returns:
        0 on success, 1 on failures
      • main

        public static void main​(java.lang.String[] args)
        Prints Alluxio configuration.
        Parameters:
        args - the arguments to specify the unit (optional) and configuration key (optional)