Package org.apache.iceberg.jdbc
Class JdbcClientPool
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClientPool<Connection,
SQLException>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.ClientPool
ClientPool.Action<R,
C, E extends Exception> -
Constructor Summary
ConstructorDescriptionJdbcClientPool
(int poolSize, String dbUrl, Map<String, String> props) JdbcClientPool
(String dbUrl, Map<String, String> props) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
close
(Connection client) protected boolean
protected Connection
protected Connection
reconnect
(Connection client)
-
Constructor Details
-
JdbcClientPool
-
JdbcClientPool
-
-
Method Details
-
newClient
- Specified by:
newClient
in classClientPoolImpl<Connection,
SQLException>
-
reconnect
- Specified by:
reconnect
in classClientPoolImpl<Connection,
SQLException>
-
close
- Specified by:
close
in classClientPoolImpl<Connection,
SQLException>
-
isConnectionException
- Overrides:
isConnectionException
in classClientPoolImpl<Connection,
SQLException>
-