jsr236-experts@concurrency-ee-spec.java.net

[jsr236-experts] Re: On ManagedTaskListener related APIs in MES and MSES

From: Anthony Lai <anthony.lai_at_oracle.com>
Date: Tue, 18 Dec 2012 10:03:48 -0800

Thanks for pointing that out. :-)

I was looking at this execution property and was wondering if
DISTRIBUTABLE_WITH_AFFINITY hint applies to a single task. It applies to
a MES or MSES so tasks submitted to the MES or MSES would be routed to
the same application server process. But what does it mean on a task?
Should a task simply provide hint saying whether it can be run in a
remote process. So instead of having:

Property name: RUN_LOCATION
Possible values: LOCAL, DISTRIBUTABLE, DISTRIBUTABLE_WITH_AFFINITY

Does it make sense to have this instead:

Property name: DISTRIBUTABLE
Possible values: "true", "false"

Regards
Anthony

On 12/18/12 7:25 AM, frowe_at_us.ibm.com wrote:
> I'm assuming that you'll correct the typo in
> "DISRTIBUTABLE_WITH_AFFINITY
> " when updating spec...