Class JdbcMonitorProperties
java.lang.Object
org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
org.apereo.cas.configuration.model.core.monitor.JdbcMonitorProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-jdbc-monitor")
public class JdbcMonitorProperties
extends AbstractJpaProperties
This is
JdbcMonitorProperties
.- Since:
- 6.4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen monitoring the JDBC connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape.The query to execute against the database to monitor status.setMaxWait
(String maxWait) When monitoring the JDBC connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape.setValidationQuery
(String validationQuery) The query to execute against the database to monitor status.Methods inherited from class org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
getBatchSize, getConnectionTimeout, getDataSourceName, getDdlAuto, getDefaultCatalog, getDefaultSchema, getDialect, getDriverClass, getFailFastTimeout, getFetchSize, getHealthQuery, getIdleTimeout, getIsolationLevelName, getLeakThreshold, getPassword, getPhysicalNamingStrategyClassName, getPool, getPropagationBehaviorName, getProperties, getUrl, getUser, isAutocommit, isGenerateStatistics, isIsolateInternalQueries, isReadOnly, setAutocommit, setBatchSize, setConnectionTimeout, setDataSourceName, setDdlAuto, setDefaultCatalog, setDefaultSchema, setDialect, setDriverClass, setFailFastTimeout, setFetchSize, setGenerateStatistics, setHealthQuery, setIdleTimeout, setIsolateInternalQueries, setIsolationLevelName, setLeakThreshold, setPassword, setPhysicalNamingStrategyClassName, setPool, setPropagationBehaviorName, setProperties, setReadOnly, setUrl, setUser
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
JdbcMonitorProperties
public JdbcMonitorProperties()
-
-
Method Details
-
getValidationQuery
The query to execute against the database to monitor status. -
getMaxWait
When monitoring the JDBC connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape. -
setValidationQuery
The query to execute against the database to monitor status.- Returns:
this
.
-
setMaxWait
When monitoring the JDBC connection pool, indicates the amount of time the operation must wait before it times outs and considers the pool in bad shape.- Returns:
this
.
-