public interface ClientPool<C,E extends Exception>
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
ClientPool.Action<R,C,E extends Exception>
Action interface for client.
|
static class |
ClientPool.ClientPoolImpl<C,E extends Exception>
Default implementation for
ClientPool. |
| 限定符和类型 | 方法和说明 |
|---|---|
<R> R |
run(ClientPool.Action<R,C,E> action) |
<R> R |
run(ClientPool.Action<R,C,E> action,
boolean retry) |
<R> R run(ClientPool.Action<R,C,E> action) throws E extends Exception, InterruptedException
E extends ExceptionInterruptedException<R> R run(ClientPool.Action<R,C,E> action, boolean retry) throws E extends Exception, InterruptedException
E extends ExceptionInterruptedExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.