V
- public final class ClientCancellableDelegatingFuture<V> extends DelegatingFuture<V>
IExecutorService
.
It does this by sending a CancellationRequest to the remote owning member and then cancelling the running task.future
Constructor and Description |
---|
ClientCancellableDelegatingFuture(ICompletableFuture future,
ClientContext context,
String uuid,
Address target,
int partitionId) |
ClientCancellableDelegatingFuture(ICompletableFuture future,
ClientContext context,
String uuid,
Address target,
int partitionId,
V defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
boolean |
isCancelled() |
public ClientCancellableDelegatingFuture(ICompletableFuture future, ClientContext context, String uuid, Address target, int partitionId)
public ClientCancellableDelegatingFuture(ICompletableFuture future, ClientContext context, String uuid, Address target, int partitionId, V defaultValue)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled
in interface Future<V>
isCancelled
in class DelegatingFuture<V>
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.