Class MetricsCommand


  • public class MetricsCommand
    extends java.lang.Object
    Prints Alluxio metrics information.
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricsCommand​(alluxio.client.metrics.MetricsMasterClient metricsMasterClient, java.io.PrintStream printStream)
      Creates a new instance of MetricsCommand.
    • Method Summary

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

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

      • MetricsCommand

        public MetricsCommand​(alluxio.client.metrics.MetricsMasterClient metricsMasterClient,
                              java.io.PrintStream printStream)
        Creates a new instance of MetricsCommand.
        Parameters:
        metricsMasterClient - client to connect to metrics master client
        printStream - stream to print operation metrics information to
    • Method Detail

      • run

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