|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yammer.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 Map<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 Map<String,HealthCheck.Result> runHealthChecks()
public static HealthCheckRegistry defaultRegistry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||