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 boolean
isComplete()
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.void
runHealthChecks(LifecyclePhase lifecyclePhase)
Runs theHealthCheck
s 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:HealthCheckRunner
Indicates whether all possible health checks have been run, across allLifecyclePhase
s.- Specified by:
isComplete
in interfaceHealthCheckRunner
- Returns:
false
if 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:HealthCheckRunner
Runs theHealthCheck
s in the givenLifecyclePhase
.- Specified by:
runHealthChecks
in interfaceHealthCheckRunner
- Parameters:
lifecyclePhase
- the lifecycle phase
-
-