Interface DataSourceConfiguration
- All Known Implementing Classes:
DefaultDataSourceConfiguration
public interface DataSourceConfiguration
If Confluence has been configured to use a DataSource, this component provides access to attributes of the
datasource configured in conf/server.xml.
- Since:
- 6.11
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
-
Method Details
-
isDataSourceConfigured
default boolean isDataSourceConfigured()- Returns:
- true if Confluence is configured to use a DataSource, else false
- Since:
- 8.0
-
getJdbcUrl
- Returns:
- the dataSource URL, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
-
getPoolSize
- Returns:
- the dataSource pool size, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
-