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