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 aDataSourcePoolMetadata
based on aDataSource
.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSourcePoolMetadata
getDataSourcePoolMetadata(DataSource dataSource)
Return theDataSourcePoolMetadata
instance able to manage the specifiedDataSource
ornull
if the given data source could not be handled.
Method Detail
getDataSourcePoolMetadata
DataSourcePoolMetadata getDataSourcePoolMetadata(DataSource dataSource)
Return theDataSourcePoolMetadata
instance able to manage the specifiedDataSource
ornull
if the given data source could not be handled.- Parameters:
dataSource
- the data source- Returns:
- the data source pool metadata