@ParametersAreNonnullByDefault public abstract class MySQLHealthCheckTemplate extends HealthCheckTemplate
HealthChecks. Subclasses using MySQL should
override one or more of the phase-specific onXxx methods
and each abstrat methods.| Modifier and Type | Field and Description |
|---|---|
protected DatabaseConfigurationManager |
manager |
BLOCKING_START, CAUSE_KEY, CHECK_ID_KEY, DISMISSIBLE, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION, TEMPLATE_CONTEXT| Modifier | Constructor and Description |
|---|---|
protected |
MySQLHealthCheckTemplate(Iterable<HealthCheck> prerequisites,
DatabaseConfigurationManager databaseConfigurationManager) |
| Modifier and Type | Method and Description |
|---|---|
protected HealthCheckMessageFormatter |
createErrorMessage() |
protected List<HealthCheckResult> |
createHealthCheckResult(HealthCheckMessageFormatter messageFormatter) |
protected HealthCheckMessageFormatter |
createServerConfigErrorMessage() |
List<HealthCheckResult> |
doPerform() |
protected Set<LifecyclePhase> |
getApplicablePhases() |
protected abstract java.util.function.Predicate<Connection> |
getConfigurationCheckerPredicate() |
protected abstract DatabaseType |
getDatabaseType() |
protected abstract java.util.function.Predicate<Connection> |
getVersionPredicate() |
boolean |
isApplicableDatabaseType(DatabaseConfigurationManager configurationManager) |
protected List<HealthCheckResult> |
verify(DatabaseConfigurationManager configurationManager) |
isApplicableFor, performgetPrerequisitesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprotected final DatabaseConfigurationManager manager
protected MySQLHealthCheckTemplate(Iterable<HealthCheck> prerequisites, DatabaseConfigurationManager databaseConfigurationManager)
protected Set<LifecyclePhase> getApplicablePhases()
getApplicablePhases in class HealthCheckTemplatepublic List<HealthCheckResult> doPerform()
doPerform in class HealthCheckTemplatepublic boolean isApplicableDatabaseType(DatabaseConfigurationManager configurationManager)
protected abstract DatabaseType getDatabaseType()
protected List<HealthCheckResult> verify(DatabaseConfigurationManager configurationManager)
protected abstract java.util.function.Predicate<Connection> getVersionPredicate()
protected abstract java.util.function.Predicate<Connection> getConfigurationCheckerPredicate()
protected List<HealthCheckResult> createHealthCheckResult(HealthCheckMessageFormatter messageFormatter)
protected HealthCheckMessageFormatter createErrorMessage()
protected HealthCheckMessageFormatter createServerConfigErrorMessage()
Copyright © 2002-2025 Atlassian. All Rights Reserved.