public class JdbcConnectionPools extends Object implements ConnectionPools
| Modifier and Type | Method and Description |
|---|---|
static JdbcConnectionPools |
getInstance() |
com.zaxxer.hikari.HikariDataSource |
getOrCreateConnectionPool(ConnectionPoolId poolId,
MySqlSourceConfig sourceConfig)
Gets a connection pool from pools, create a new pool if the pool does not exists in the
connection pools .
|
public static JdbcConnectionPools getInstance()
public com.zaxxer.hikari.HikariDataSource getOrCreateConnectionPool(ConnectionPoolId poolId, MySqlSourceConfig sourceConfig)
ConnectionPoolsgetOrCreateConnectionPool in interface ConnectionPoolsCopyright © 2022 The Apache Software Foundation. All rights reserved.