[CONCURRENCY_EE_SPEC-14] Add interface to provide hint for distributed execution Created: 15/Aug/12 Updated: 27/Dec/12 Resolved: 27/Dec/12
|Fix Version/s:||Public Review|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Suggestion from Andrew:
For a distributed implementation it is useful for applications to provide some additional information (eg. priority or a preference as to where they might execute). Given that ManagedExecutorService extends ExecutorService which already specifies the signatures to submit(), and this is a less common use case, it might be better to have this be an interface that extends Callable and provides something like Properties getExecutionProperties(). This should definitely be optional, and could fall back to local execution.
|Comment by anthony.lai [ 12/Dec/12 ]|
Proposed changes to issue http://java.net/jira/browse/CONCURRENCY_EE_SPEC-22 could take care of this suggestion.
|Comment by anthony.lai [ 27/Dec/12 ]|
getExecutionProperties() added to new ManagedTask interface per