Package org.apache.iceberg
Interface ClientPool<C,E extends java.lang.Exception>
-
- All Known Implementing Classes:
CachedClientPool
,ClientPoolImpl
,HiveClientPool
public interface ClientPool<C,E extends java.lang.Exception>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ClientPool.Action<R,C,E extends java.lang.Exception>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> R
run(ClientPool.Action<R,C,E> action)
<R> R
run(ClientPool.Action<R,C,E> action, boolean retry)
-
-
-
Method Detail
-
run
<R> R run(ClientPool.Action<R,C,E> action) throws E extends java.lang.Exception, java.lang.InterruptedException
- Throws:
E extends java.lang.Exception
java.lang.InterruptedException
-
run
<R> R run(ClientPool.Action<R,C,E> action, boolean retry) throws E extends java.lang.Exception, java.lang.InterruptedException
- Throws:
E extends java.lang.Exception
java.lang.InterruptedException
-
-