concurrency-ee-spec
  1. concurrency-ee-spec
  2. CONCURRENCY_EE_SPEC-14

Add interface to provide hint for distributed execution

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Public Review
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anthony.lai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: