@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)
HealthCheckRegistry
register
in interface HealthCheckRegistry
healthChecks
- the health check(s) to registerpublic void registrationComplete()
HealthCheckRegistry
registrationComplete
in interface HealthCheckRegistry
@Nonnull public Collection<HealthCheck> getAll()
HealthCheckRegistry
getAll
in interface HealthCheckRegistry
Copyright © 2003–2017 Atlassian. All rights reserved.