@ParametersAreNonnullByDefault public class DefaultHealthCheckRegistry extends Object implements HealthCheckRegistry
| Constructor and Description |
|---|
DefaultHealthCheckRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Collection<HealthCheck> |
getAll()
Returns the health checks in order of execution.
|
void |
register(HealthCheck... healthChecks)
Registers the given health check(s) for later execution.
|
void |
registrationComplete()
Signals to this registry that registration of health checks is complete.
|
public void register(HealthCheck... healthChecks)
HealthCheckRegistryregister in interface HealthCheckRegistryhealthChecks - the health check(s) to registerpublic void registrationComplete()
HealthCheckRegistryregistrationComplete in interface HealthCheckRegistry@Nonnull public Collection<HealthCheck> getAll()
HealthCheckRegistrygetAll in interface HealthCheckRegistryCopyright © 2002-2019 Atlassian. All Rights Reserved.