V - Type of returned object from the get method of this class.public abstract class ClientCancellableDelegatingFuture<V> extends ClientDelegatingFuture<V>
IExecutorService.
 It does this by sending a Cancellation Request to the remote owning member and then cancelling the running task.| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
cancelled  | 
protected ClientContext | 
context  | 
protected String | 
uuid  | 
| Constructor and Description | 
|---|
ClientCancellableDelegatingFuture(ClientInvocationFuture future,
                                 ClientContext context,
                                 String uuid,
                                 V defaultValue,
                                 ClientMessageDecoder resultDecoder)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
cancel(boolean mayInterruptIfRunning)  | 
boolean | 
isCancelled()  | 
protected void | 
waitForRequestToBeSend()  | 
andThen, andThen, andThenInternal, get, get, getFuture, getResponse, isDone, setDone, setErrorprotected final ClientContext context
protected final String uuid
protected volatile boolean cancelled
public ClientCancellableDelegatingFuture(ClientInvocationFuture future, ClientContext context, String uuid, V defaultValue, ClientMessageDecoder resultDecoder)
public abstract boolean cancel(boolean mayInterruptIfRunning)
protected void waitForRequestToBeSend()
                               throws InterruptedException
InterruptedExceptionpublic boolean isCancelled()
isCancelled in interface Future<V>isCancelled in class ClientDelegatingFuture<V>Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.