public class ExecutionCallbackAdapter<T> extends Object implements BiConsumer<T,Throwable>
ExecutionCallback as a BiConsumer
so it can be used with CompletableFuture.whenComplete(BiConsumer).| Constructor and Description |
|---|
ExecutionCallbackAdapter(ExecutionCallback<T> executionCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T response,
Throwable t) |
protected Object |
interceptResponse(Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic ExecutionCallbackAdapter(ExecutionCallback<T> executionCallback)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.