V
- public interface ICompletableFuture<V> extends Future<V>
Modifier and Type | Method and Description |
---|---|
void |
andThen(ExecutionCallback<V> callback)
Registers a callback that will run after the future is completed.
|
void |
andThen(ExecutionCallback<V> callback,
Executor executor)
Registers a callback that will run with the provided executor after the future is completed.
|
void andThen(ExecutionCallback<V> callback)
callback
- the callback to executevoid andThen(ExecutionCallback<V> callback, Executor executor)
callback
- the callback to executeexecutor
- the executor in which the callback will be runCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.