|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.DefaultMonitorRegistry
public final class DefaultMonitorRegistry
Default registry that delegates all actions to a class specified by the
com.netflix.servo.DefaultMonitorRegistry.registryClass property. The
specified registry class must have a constructor with no arguments. If the
property is not specified or the class cannot be loaded an instance of
JmxMonitorRegistry will be used.
| Method Summary | |
|---|---|
static MonitorRegistry |
getInstance()
Returns the instance of this registry. |
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 |
| Method Detail |
|---|
public static MonitorRegistry getInstance()
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 | ||||||||