org.springframework.boot.jdbc.metadata

Interface DataSourcePoolMetadataProvider

  • All Known Implementing Classes:
    CompositeDataSourcePoolMetadataProvider
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface DataSourcePoolMetadataProvider
    Provide a DataSourcePoolMetadata based on a DataSource.
    Since:
    2.0.0
    • Method Detail

      • getDataSourcePoolMetadata

        DataSourcePoolMetadata getDataSourcePoolMetadata(javax.sql.DataSource dataSource)
        Return the DataSourcePoolMetadata instance able to manage the specified DataSource or null if the given data source could not be handled.
        Parameters:
        dataSource - the data source
        Returns:
        the data source pool metadata