| Modifier and Type | Field and Description |
|---|---|
| private final GenericAdapter | |
| private final CompletionHandler | |
| private static final GenericAdapter | |
| private final FutureImpl |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | CompletionHandlerAdapter(FutureImpl<A> future, CompletionHandler<A> completionHandler, GenericAdapter<B, A> adapter)
|
| Modifier and Type | Method and Description |
|---|---|
| protected A | |
| public void | cancelled()
Implements org. The operation was cancelled. |
| public void | completed(B result)
Implements org. The operation was completed. |
| public void | failed(Throwable throwable)
Implements org. The operation was failed. |
| private static <K, V> GenericAdapter | |
| public void | updated(B result)
Implements org. The callback method may be called, when there is some progress in operation execution, but it is still not completed |
| adapter | back to summary |
|---|---|
| private final GenericAdapter<B, A> adapter | |
| completionHandler | back to summary |
|---|---|
| private final CompletionHandler<A> completionHandler | |
| DIRECT_ADAPTER | back to summary |
|---|---|
| private static final GenericAdapter<K, V> DIRECT_ADAPTER | |
| future | back to summary |
|---|---|
| private final FutureImpl<A> future | |
| CompletionHandlerAdapter | back to summary |
|---|---|
| public CompletionHandlerAdapter(FutureImpl<A> future) | |
| CompletionHandlerAdapter | back to summary |
|---|---|
| public CompletionHandlerAdapter(FutureImpl<A> future, CompletionHandler<A> completionHandler) | |
| CompletionHandlerAdapter | back to summary |
|---|---|
| public CompletionHandlerAdapter(FutureImpl<A> future, CompletionHandler<A> completionHandler, GenericAdapter<B, A> adapter) | |
| adapt | back to summary |
|---|---|
| protected A adapt(B result) | |
| cancelled | back to summary |
|---|---|
| public void cancelled() Implements org. Doc from org. The operation was cancelled.
| |
| completed | back to summary |
|---|---|
| public void completed(B result) Implements org. Doc from org. The operation was completed.
| |
| failed | back to summary |
|---|---|
| public void failed(Throwable throwable) Implements org. Doc from org. The operation was failed.
| |
| getDirectAdapter | back to summary |
|---|---|
private static <K, V> GenericAdapter
| |
| updated | back to summary |
|---|---|
| public void updated(B result) Implements org. Doc from org. The callback method may be called, when there is some progress in operation execution, but it is still not completed
| |