3 Replies Latest reply on Feb 26, 2014 10:21 AM by Vladimir Blagojevic

    Getting address of a Future (5.3)

    Pawel Veselov Newbie

      Hi.

       

      Using InfiniSpan 5.3.

       

      I'm interested in being able to get an address of a future that has been submitted into an executor service.

      Wouldn't any task that's ever submitted into any execution service, have a target address where it's to be executed, even it's local?

      In this case, may be execution service methods can return TargetedFuture that extends Future, but also can return an address of where it's to be executed.

      This way the caller can now which of the nodes failed execution, when executing remotely.

       

      Otherwise, this is a bit tedios, as instead of, for example, submitEverwhere(), I have to iterate over all known nodes, and call submit(where,task)...

       

      Thank you.