<div dir="ltr">Recently we have been moving a lot of our methods that return Future [1] to CompletableFuture [2].  Unfortunately the latter, CompletableFuture, doesn&#39;t allow for cancellation of the future, since there is no thread tied to it.  So I am proposing that our DistributedExecutorService [3] no longer allows for interruption of remote threads on a cancellation.  This way we can have our distributed executor service return CompletableFuture instances which do not support interruption.<div><br></div><div>Also to note that DistributedExecutorService extends ExecutorService which returns a normal Future which is documented as allowing cancellation.  In this case I would just document on DistributedExecutorService that we don&#39;t support interruption anyways.<br><div><br></div><div>Does anyone require the use of interruptable tasks with Distributed Executor?</div><div><br></div><div>Thanks,</div><div><br></div><div> - Will<br><div><br></div><div>[1] <a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html">https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html</a></div><div>[2] <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html">https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html</a></div><div>[3] <a href="https://docs.jboss.org/infinispan/8.1/apidocs/org/infinispan/distexec/DistributedExecutorService.html">https://docs.jboss.org/infinispan/8.1/apidocs/org/infinispan/distexec/DistributedExecutorService.html</a></div></div></div></div>