Class DefaultDataSourceConfiguration
java.lang.Object
com.atlassian.confluence.impl.health.checks.DefaultDataSourceConfiguration
- All Implemented Interfaces:
DataSourceConfiguration
- Since:
- 6.11
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDataSourceConfiguration
(com.atlassian.config.db.HibernateConfig hibernateConfig, MBeanServer mBeanServer, BootstrapManager bootstrapManager) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.impl.health.checks.DataSourceConfiguration
isDataSourceConfigured
-
Constructor Details
-
DefaultDataSourceConfiguration
public DefaultDataSourceConfiguration(com.atlassian.config.db.HibernateConfig hibernateConfig, MBeanServer mBeanServer, BootstrapManager bootstrapManager)
-
-
Method Details
-
getJdbcUrl
- Specified by:
getJdbcUrl
in interfaceDataSourceConfiguration
- Returns:
- the dataSource URL, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
-
getPoolSize
- Specified by:
getPoolSize
in interfaceDataSourceConfiguration
- Returns:
- the dataSource pool size, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
-