com.hazelcast.client.util
V
- Type of returned object from the get method of this class.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.Constructor and Description |
---|
ClientCancellableDelegatingFuture(ICompletableFuture future,
ClientContext context,
String uuid,
Address target,
int partitionId,
V defaultValue) |
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 © 2015 Hazelcast, Inc.. All Rights Reserved.