-
1. Re: how to submit a task everywhere, but here
vblagojevic Oct 19, 2012 4:01 PM (in response to matlach)Not at this time, I think your best bet is to extend DefaultExecutorService!
-
2. Re: how to submit a task everywhere, but here
matlach Oct 19, 2012 8:07 PM (in response to vblagojevic)Thanks Vladimir for the anwser.
Do you plan for the 5.2.0.Final release to provide a new interface for the DistributedExecutorService ?
I think it would be nice to be able to just add a submit(Address... addresses, Callable task) method.
That way all the address filtering (submit on the same machine, site, everywhere, everywhere but here, etc.) could be easily achieved.
Maybe some method, like the one I just proposed, could be isolated in an AdvancedDistributedExecutorService, a bit like the AdvancedCache interface ?
What do you think about that ?
-
3. Re: how to submit a task everywhere, but here
vblagojevic Oct 22, 2012 11:23 AM (in response to matlach)Hey Mathieu,
Yeah, I think we could add:
<T> List<Future<T>> submitEverywhere(Callable<T> task, Address...);
Please open a JIRA issue and we'll see to squeeze it in 5.2.
Regards,
Vladimir
P.S In Jira description make a case for this feature as it will be easier to push it in 5.2 final.
-
4. Re: how to submit a task everywhere, but here
matlach Oct 22, 2012 5:28 PM (in response to vblagojevic)