com.hazelcast.client.proxy

## Class IExecutorDelegatingFuture<V>

- java.lang.Object
- - com.hazelcast.client.util.ClientDelegatingFuture<V>
  - - com.hazelcast.client.proxy.IExecutorDelegatingFuture<V>

- Type Parameters:
    `V` - Type of returned object from the get method of this class.
  All Implemented Interfaces:
    ICompletableFuture<V>, InternalCompletableFuture<V>, Future<V>

      public final class IExecutorDelegatingFuture<V>
      extends ClientDelegatingFuture<V>

  An Abstract DelegatingFuture that can cancel a Runnable/Callable that is executed by an `IExecutorService`. It does this by sending a Cancellation Request to the remote owning member and then cancelling the running task.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `cancel(boolean mayInterruptIfRunning)`

    - ### Methods inherited from class com.hazelcast.client.util.ClientDelegatingFuture

      `andThen, andThen, andThenInternal, complete, get, get, getFuture, isCancelled, isDone, join`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### cancel

          public boolean cancel(boolean mayInterruptIfRunning)

      Specified by:
        `cancel` in interface `Future<V>`
      Overrides:
        `cancel` in class `ClientDelegatingFuture<V>`

Copyright © 2018. All rights reserved.