| Constructor and Description |
|---|
TracingCompletableFuture(com.hazelcast.core.ICompletableFuture<V> future,
boolean traceWithActiveSpanOnly,
Map<String,String> spanContextMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
andThen(com.hazelcast.core.ExecutionCallback<V> callback) |
void |
andThen(com.hazelcast.core.ExecutionCallback<V> callback,
Executor executor) |
boolean |
cancel(boolean mayInterruptIfRunning) |
V |
get() |
V |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
public void andThen(com.hazelcast.core.ExecutionCallback<V> callback)
andThen in interface com.hazelcast.core.ICompletableFuture<V>public void andThen(com.hazelcast.core.ExecutionCallback<V> callback, Executor executor)
andThen in interface com.hazelcast.core.ICompletableFuture<V>public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>public V get() throws InterruptedException, ExecutionException
get in interface Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2018-2019–2019. All rights reserved.