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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmetrics(Nimbus.Iface client)voidmetrics(Nimbus.Iface client, long now, org.apache.storm.utils.Monitor.MetricsState state)voidsetComponent(String component)voidsetInterval(int interval)voidsetStream(String stream)voidsetTopology(String topology)voidsetWatch(String watch)
-
-
-
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)
-
-