Class SummaryCommand


  • public class SummaryCommand
    extends java.lang.Object
    Prints Alluxio cluster summarized information.
    • Constructor Summary

      Constructors 
      Constructor Description
      SummaryCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient, alluxio.client.block.BlockMasterClient blockMasterClient, java.lang.String dateFormatPattern, java.io.PrintStream printStream)
      Creates a new instance of SummaryCommand.
    • Method Summary

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

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

      • SummaryCommand

        public SummaryCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient,
                              alluxio.client.block.BlockMasterClient blockMasterClient,
                              java.lang.String dateFormatPattern,
                              java.io.PrintStream printStream)
        Creates a new instance of SummaryCommand.
        Parameters:
        metaMasterClient - client to connect to meta master
        blockMasterClient - client to connect to block master
        dateFormatPattern - the pattern to follow when printing the date
        printStream - stream to print summary information to
    • Method Detail

      • run

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