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 Detail

      • isDataSourceConfigured

        default boolean isDataSourceConfigured()
        Returns:
        true if Confluence is configured to use a DataSource, else false
        Since:
        8.0
      • getJdbcUrl

        Optional<String> getJdbcUrl()
        Returns:
        the dataSource URL, or empty if Confluence is not using a DataSource, or an error occurred getting the value.
      • getPoolSize

        Optional<Integer> getPoolSize()
        Returns:
        the dataSource pool size, or empty if Confluence is not using a DataSource, or an error occurred getting the value.