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
ConstructorsConstructorDescriptionJdbcClientPool(int poolSize, String dbUrl, Map<String, String> props) JdbcClientPool(String dbUrl, Map<String, String> props) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose(Connection client) protected booleanprotected Connectionprotected Connectionreconnect(Connection client)
-
Constructor Details
-
JdbcClientPool
-
JdbcClientPool
-
-
Method Details
-
newClient
- Specified by:
newClientin classClientPoolImpl<Connection,SQLException>
-
reconnect
- Specified by:
reconnectin classClientPoolImpl<Connection,SQLException>
-
close
- Specified by:
closein classClientPoolImpl<Connection,SQLException>
-
isConnectionException
- Overrides:
isConnectionExceptionin classClientPoolImpl<Connection,SQLException>
-