Class DefaultDataSourceConfiguration
- java.lang.Object
-
- com.atlassian.confluence.impl.health.checks.DefaultDataSourceConfiguration
-
- All Implemented Interfaces:
DataSourceConfiguration
public class DefaultDataSourceConfiguration extends Object implements DataSourceConfiguration
- Since:
- 6.11
-
-
Constructor Summary
Constructors Constructor Description DefaultDataSourceConfiguration(com.atlassian.config.db.HibernateConfig hibernateConfig, MBeanServer mBeanServer, BootstrapManager bootstrapManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getJdbcUrl()
Optional<Integer>
getPoolSize()
-
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 Detail
-
DefaultDataSourceConfiguration
public DefaultDataSourceConfiguration(com.atlassian.config.db.HibernateConfig hibernateConfig, MBeanServer mBeanServer, BootstrapManager bootstrapManager)
-
-
Method Detail
-
getJdbcUrl
public Optional<String> 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
public Optional<Integer> 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.
-
-