Class ProxyCommand


  • public class ProxyCommand
    extends java.lang.Object
    Prints information about proxy instances in the cluster.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.time.format.DateTimeFormatter DATETIME_FORMAT  
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient, java.io.PrintStream printStream)
      Creates a new instance of ProxyCommand.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int run()
      Runs a proxy report command.
      • Methods inherited from class java.lang.Object

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

      • DATETIME_FORMAT

        public static final java.time.format.DateTimeFormatter DATETIME_FORMAT
    • Constructor Detail

      • ProxyCommand

        public ProxyCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient,
                            java.io.PrintStream printStream)
        Creates a new instance of ProxyCommand.
        Parameters:
        metaMasterClient - the client to talk to the master with
        printStream - the stream to print to
    • Method Detail

      • run

        public int run()
                throws java.io.IOException
        Runs a proxy report command.
        Returns:
        0 on success, 1 otherwise
        Throws:
        java.io.IOException