Class DefaultHealthCheckRunner
- java.lang.Object
-
- com.atlassian.confluence.impl.health.DefaultHealthCheckRunner
-
- All Implemented Interfaces:
HealthCheckRunner
public class DefaultHealthCheckRunner extends Object implements HealthCheckRunner
- Since:
- 6.6.0
-
-
Constructor Summary
Constructors Constructor Description DefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor, HealthCheckRegistry healthCheckRegistry, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, com.atlassian.util.concurrent.Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier, UpgradeEventRegistry upgradeEventRegistry, com.atlassian.config.ApplicationConfiguration applicationConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisComplete()Indicates whether all possible health checks have been run, across allLifecyclePhases.voidrunHealthChecks(LifecyclePhase lifecyclePhase)Runs theHealthChecks in the givenLifecyclePhase.
-
-
-
Constructor Detail
-
DefaultHealthCheckRunner
public DefaultHealthCheckRunner(HealthCheckExecutor healthCheckExecutor, HealthCheckRegistry healthCheckRegistry, com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, com.atlassian.util.concurrent.Supplier<HealthCheckAnalyticsSender> healthCheckAnalyticsSenderSupplier, UpgradeEventRegistry upgradeEventRegistry, com.atlassian.config.ApplicationConfiguration applicationConfiguration)
-
-
Method Detail
-
isComplete
public boolean isComplete()
Description copied from interface:HealthCheckRunnerIndicates whether all possible health checks have been run, across allLifecyclePhases.- Specified by:
isCompletein interfaceHealthCheckRunner- Returns:
falseif this is not the last phase or the current phase has some checks left to run- See Also:
LifecyclePhase.isLast()
-
runHealthChecks
public void runHealthChecks(LifecyclePhase lifecyclePhase)
Description copied from interface:HealthCheckRunnerRuns theHealthChecks in the givenLifecyclePhase.- Specified by:
runHealthChecksin interfaceHealthCheckRunner- Parameters:
lifecyclePhase- the lifecycle phase
-
-