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 healthCheck)
Registers the given health check for later execution.
|
void |
registrationComplete()
Signals to this registry that registration of health checks is complete.
|
public void register(HealthCheck healthCheck)
HealthCheckRegistry
register
in interface HealthCheckRegistry
healthCheck
- the health check to registerpublic void registrationComplete()
HealthCheckRegistry
registrationComplete
in interface HealthCheckRegistry
public Collection<HealthCheck> getAll()
HealthCheckRegistry
getAll
in interface HealthCheckRegistry
Copyright © 2003–2020 Atlassian. All rights reserved.