Class DefaultHealthCheckRegistry
java.lang.Object
com.atlassian.confluence.impl.health.DefaultHealthCheckRegistry
- All Implemented Interfaces:
HealthCheckRegistry
Stores the checks in a directed acyclic graph, based on their prerequisites.
- Since:
- 6.6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Returns the health checks in order of execution.void
register
(HealthCheck healthCheck) Registers the given health check for later execution.void
Signals to this registry that registration of health checks is complete.
-
Constructor Details
-
DefaultHealthCheckRegistry
public DefaultHealthCheckRegistry()
-
-
Method Details
-
register
Description copied from interface:HealthCheckRegistry
Registers the given health check for later execution.- Specified by:
register
in interfaceHealthCheckRegistry
- Parameters:
healthCheck
- the health check to register
-
registrationComplete
public void registrationComplete()Description copied from interface:HealthCheckRegistry
Signals to this registry that registration of health checks is complete.- Specified by:
registrationComplete
in interfaceHealthCheckRegistry
-
getAll
Description copied from interface:HealthCheckRegistry
Returns the health checks in order of execution.- Specified by:
getAll
in interfaceHealthCheckRegistry
- Returns:
- see above
-