|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.jmx.JmxMonitorRegistry
public final class JmxMonitorRegistry
Monitor registry backed by JMX. The monitor annotations on registered
objects will be used to export the data to JMX. For details about the
representation in JMX see MonitorMBean.
| Constructor Summary | |
|---|---|
JmxMonitorRegistry(java.lang.String name)
Creates a new instance that registers metrics with the local mbean server. |
|
| Method Summary | |
|---|---|
java.util.Collection<Monitor<?>> |
getRegisteredMonitors()
The set of registered Monitor objects. |
void |
register(Monitor<?> monitor)
Register a new monitor in the registry. |
void |
unregister(Monitor<?> monitor)
Unregister a Monitor from the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxMonitorRegistry(java.lang.String name)
| Method Detail |
|---|
public java.util.Collection<Monitor<?>> getRegisteredMonitors()
getRegisteredMonitors in interface MonitorRegistrypublic void register(Monitor<?> monitor)
register in interface MonitorRegistrypublic void unregister(Monitor<?> monitor)
unregister in interface MonitorRegistry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||