public class HttpThreadsVsDbConnectionsHealthCheck extends HealthCheckTemplate
HealthCheck
that checks whether there are enough DB connections
in the pool relative to the maximum number of HTTP threads.Constructor and Description |
---|
HttpThreadsVsDbConnectionsHealthCheck(List<HealthCheckRule> rules) |
Modifier and Type | Method and Description |
---|---|
protected List<HealthCheckResult> |
doPerform()
Subclasses should perform their check and return any results arising from it.
|
protected Set<LifecyclePhase> |
getApplicablePhases()
Subclasses should indicate the phases in which this check should run.
|
isApplicableFor, perform
getPrerequisites
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
public HttpThreadsVsDbConnectionsHealthCheck(List<HealthCheckRule> rules)
protected Set<LifecyclePhase> getApplicablePhases()
HealthCheckTemplate
getApplicablePhases
in class HealthCheckTemplate
protected List<HealthCheckResult> doPerform()
HealthCheckTemplate
doPerform
in class HealthCheckTemplate
HealthCheckTemplate.getApplicablePhases()
,
HealthCheck.perform(LifecyclePhase)
Copyright © 2003–2021 Atlassian. All rights reserved.