org.apache.storm.utils

## Class Monitor

- java.lang.Object
- - org.apache.storm.utils.Monitor

-     public class Monitor
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Monitor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `metrics(Nimbus.Iface client)`
    `void` | `metrics(Nimbus.Iface client, long now, org.apache.storm.utils.Monitor.MetricsState state)`
    `void` | `setComponent(String component)`
    `void` | `setInterval(int interval)`
    `void` | `setStream(String stream)`
    `void` | `setTopology(String topology)`
    `void` | `setWatch(String watch)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Monitor

          public Monitor()

  - ### Method Detail

    - #### metrics

          public void metrics(Nimbus.Iface client)
                       throws Exception

      Throws:
        `Exception`

    - #### metrics

          public void metrics(Nimbus.Iface client,
                              long now,
                              org.apache.storm.utils.Monitor.MetricsState state)
                       throws Exception

      Throws:
        `Exception`

    - #### setInterval

          public void setInterval(int interval)

    - #### setTopology

          public void setTopology(String topology)

    - #### setComponent

          public void setComponent(String component)

    - #### setStream

          public void setStream(String stream)

    - #### setWatch

          public void setWatch(String watch)

Copyright © 2021 The Apache Software Foundation. All rights reserved.