Pavel Tupitsyn wrote
>> result of a remote execution is a CompletionStage
> 
> Can you give an example? What is a remote execution? Is this about Compute
> and/or Services?

This is about Compute.

Let's say I'm doing affinityCallAsync for IgniteCallable<R> where R
implements CompletableStage<T> or R is a CompletableFuture<T>.  Then I
wouldn't want to have the CompleteableStage or CompleteableFuture come back
to me actually, rather something that will complete with the T when it's
ready (and it would be nice if I could also cancel it for the
CompleteableFuture case). It could be done as well for affinityCall
(non-async) too, although in my mind the former case is the more important
one. Of course, affinityCall is just an example, it should apply to the
other compute methods as appropriate.



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Reply via email to