Package org.apache.storm.utils
Class Monitor
java.lang.Object
org.apache.storm.utils.Monitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
void
setTopology
(String topology) void
-
Constructor Details
-
Monitor
public Monitor()
-
-
Method Details
-
metrics
- 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
-
setComponent
-
setStream
-
setWatch
-