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.voidregister(HealthCheck healthCheck) Registers the given health check for later execution.voidSignals to this registry that registration of health checks is complete.
-
Constructor Details
-
DefaultHealthCheckRegistry
public DefaultHealthCheckRegistry()
-
-
Method Details
-
register
Description copied from interface:HealthCheckRegistryRegisters the given health check for later execution.- Specified by:
registerin interfaceHealthCheckRegistry- Parameters:
healthCheck- the health check to register
-
registrationComplete
public void registrationComplete()Description copied from interface:HealthCheckRegistrySignals to this registry that registration of health checks is complete.- Specified by:
registrationCompletein interfaceHealthCheckRegistry
-
getAll
Description copied from interface:HealthCheckRegistryReturns the health checks in order of execution.- Specified by:
getAllin interfaceHealthCheckRegistry- Returns:
- see above
-