Package org.apache.storm.utils

# Class Monitor

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

public class Monitor extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Monitor()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### Monitor

    public Monitor()

- ## Method Details

  - ### 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)