| Package | Description |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.util |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,HealthCheck.Result> |
HealthChecks.runHealthChecks()
Runs the registered health checks and returns a map of the results.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract HealthCheck.Result |
HealthCheck.check()
Perform a check of the application component.
|
HealthCheck.Result |
HealthCheck.execute()
Executes the health check, catching and handling any exceptions raised by
HealthCheck.check(). |
static HealthCheck.Result |
HealthCheck.Result.healthy()
Returns a healthy
HealthCheck.Result with no additional message. |
static HealthCheck.Result |
HealthCheck.Result.healthy(String message)
Returns a healthy
HealthCheck.Result with an additional message. |
static HealthCheck.Result |
HealthCheck.Result.unhealthy(String message)
Returns an unhealthy
HealthCheck.Result with the given message. |
static HealthCheck.Result |
HealthCheck.Result.unhealthy(Throwable error)
Returns an unhealthy
HealthCheck.Result with the given error. |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<String,HealthCheck.Result> |
HealthCheckRegistry.runHealthChecks()
Runs the registered health checks and returns a map of the results.
|
| Modifier and Type | Method and Description |
|---|---|
protected HealthCheck.Result |
DeadlockHealthCheck.check() |
Copyright © 2012. All Rights Reserved.