Interface ConnectionPools<P,C extends SourceConfig>
-
- All Known Implementing Classes:
JdbcConnectionPools
@Experimental public interface ConnectionPools<P,C extends SourceConfig>
A pool collection that consists of multiple connection pools.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PgetOrCreateConnectionPool(ConnectionPoolId poolId, C sourceConfig)Gets a connection pool from pools, create a new pool if the pool does not exists in the connection pools .
-
-
-
Method Detail
-
getOrCreateConnectionPool
P getOrCreateConnectionPool(ConnectionPoolId poolId, C sourceConfig)
Gets a connection pool from pools, create a new pool if the pool does not exists in the connection pools .
-
-