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 SummaryNested classes/interfaces inherited from interface org.apache.iceberg.ClientPoolClientPool.Action<R,C, E extends Exception> 
- 
Constructor SummaryConstructorsConstructorDescriptionClientPoolImpl(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 interface- ClientPool<C,- E extends Exception> 
- Throws:
- E extends Exception
- InterruptedException
 
- 
run- Specified by:
- runin interface- ClientPool<C,- E extends Exception> 
- Throws:
- E extends Exception
- InterruptedException
 
- 
newClient
- 
reconnect
- 
isConnectionException
- 
close
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
- 
poolSizepublic int poolSize()
- 
isClosedpublic boolean isClosed()
 
-