|
||||||||||
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.HealthChecks
public class HealthChecks
A manager class for health checks.
Method Summary | |
---|---|
static HealthCheckRegistry |
defaultRegistry()
Returns the (static) default registry. |
static void |
register(HealthCheck healthCheck)
Registers an application HealthCheck with a given name. |
static java.util.Map<java.lang.String,HealthCheck.Result> |
runHealthChecks()
Runs the registered health checks and returns a map of the results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void register(HealthCheck healthCheck)
HealthCheck
with a given name.
healthCheck
- the HealthCheck
instancepublic static java.util.Map<java.lang.String,HealthCheck.Result> runHealthChecks()
public static HealthCheckRegistry defaultRegistry()
|
© 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 |