Class HttpThreadsVsDbConnectionPoolRule
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
-
- com.atlassian.confluence.impl.health.checks.rules.HttpThreadsVsDbConnectionPoolRule
-
- All Implemented Interfaces:
HealthCheckRule
public class HttpThreadsVsDbConnectionPoolRule extends AbstractHealthCheckRule
Determines whether the ratio of HTTP Threads to Database Connection Pool for all connectors is correct.- Since:
- 6.13
-
-
Constructor Summary
Constructors Constructor Description HttpThreadsVsDbConnectionPoolRule(TomcatConfigHelper tomcatConfigHelper, DatabaseConfigHelper databaseConfigHelper, ErrorMessageProvider errorMessageProvider)
Production constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<String>
doValidation()
-
Methods inherited from class com.atlassian.confluence.impl.health.checks.rules.AbstractHealthCheckRule
getErrorMessage, getFailureEvent, validate
-
-
-
-
Constructor Detail
-
HttpThreadsVsDbConnectionPoolRule
public HttpThreadsVsDbConnectionPoolRule(TomcatConfigHelper tomcatConfigHelper, DatabaseConfigHelper databaseConfigHelper, ErrorMessageProvider errorMessageProvider)
Production constructor.- Parameters:
tomcatConfigHelper
- the tomcat configuration.databaseConfigHelper
- the database configuration.errorMessageProvider
- the error message provider.
-
-
Method Detail
-
doValidation
protected Optional<String> doValidation()
- Specified by:
doValidation
in classAbstractHealthCheckRule
-
-