Package org.apache.iceberg
Class ClientPoolImpl<C,E extends Exception> 
java.lang.Object
org.apache.iceberg.ClientPoolImpl<C,E> 
- All Implemented Interfaces:
 Closeable,AutoCloseable,ClientPool<C,E> 
- Direct Known Subclasses:
 HiveClientPool,JdbcClientPool
public abstract class ClientPoolImpl<C,E extends Exception> 
extends Object
implements Closeable, ClientPool<C,E> 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.ClientPool
ClientPool.Action<R,C, E extends Exception>  - 
Constructor Summary
ConstructorsConstructorDescriptionClientPoolImpl(int poolSize, Class<? extends E> reconnectExc, boolean retryByDefault) ClientPoolImpl(int poolSize, Class<? extends E> reconnectExc, boolean retryByDefault, int maxConnectionRetries)  - 
Method Summary
 
- 
Constructor Details
- 
ClientPoolImpl
 - 
ClientPoolImpl
 
 - 
 - 
Method Details
- 
run
- Specified by:
 runin interfaceClientPool<C,E extends Exception> - Throws:
 E extends ExceptionInterruptedException
 - 
run
- Specified by:
 runin interfaceClientPool<C,E extends Exception> - Throws:
 E extends ExceptionInterruptedException
 - 
newClient
 - 
reconnect
 - 
isConnectionException
 - 
close
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable
 - 
poolSize
public int poolSize() - 
isClosed
public boolean isClosed() 
 -