public final class CompositeHealthCheck
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CompositeHealthCheck.HealthCheckResults |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<HealthCheck> |
healthChecks |
private static org.slf4j.Logger |
log |
Constructor and Description |
---|
CompositeHealthCheck(java.util.Set<HealthCheck> healthChecks) |
Modifier and Type | Method and Description |
---|---|
CompositeHealthCheck.HealthCheckResults |
runHealthChecks()
Runs the registered health checks and returns a map of the results.
|
private static final org.slf4j.Logger log
private final java.util.Set<HealthCheck> healthChecks
public CompositeHealthCheck(java.util.Set<HealthCheck> healthChecks)
public CompositeHealthCheck.HealthCheckResults runHealthChecks()