|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.metrics.codahale_metrics.metrics.core.HealthCheckRegistry
public class HealthCheckRegistry
A registry for health checks.
Constructor Summary | |
---|---|
HealthCheckRegistry()
|
Method Summary | |
---|---|
void |
register(HealthCheck healthCheck)
Registers an application HealthCheck . |
java.util.SortedMap<java.lang.String,HealthCheck.Result> |
runHealthChecks()
Runs the registered health checks and returns a map of the results. |
void |
unregister(HealthCheck healthCheck)
Unregisters the given HealthCheck . |
void |
unregister(java.lang.String name)
Unregisters the application HealthCheck with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HealthCheckRegistry()
Method Detail |
---|
public void register(HealthCheck healthCheck)
HealthCheck
.
healthCheck
- the HealthCheck
instancepublic void unregister(java.lang.String name)
HealthCheck
with the given name.
name
- the name of the HealthCheck
instancepublic void unregister(HealthCheck healthCheck)
HealthCheck
.
healthCheck
- a HealthCheck
public java.util.SortedMap<java.lang.String,HealthCheck.Result> runHealthChecks()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |