Pivot
  1. Pivot
  2. PIVOT-787

Allow a Task to be executed using an ExecutorService supplied at execution time

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: core-util
    • Labels:
      None
    • Environment:
      n/a

      Description

      org.apache.pivot.util.concurrent.Task can be passed a an ExecutorService at construction which will be used when the Task is executed asynchronously.
      http://pivot.apache.org/2.0/docs/api/org/apache/pivot/util/concurrent/Task.html#Task(java.util.concurrent.ExecutorService)

      It would be useful to be able to override this (or the default ExecutorService if the no-arg constructor was used) when executing a Task asynchronously, especially for Tasks that might be run multiple times and when the ExecutorService to use is not known when the Task is constructed.

        Activity

        Chris Bartlett created issue -
        Chris Bartlett made changes -
        Field Original Value New Value
        Attachment task_executor_service.patch [ 12489731 ]
        Chris Bartlett made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Chris Bartlett
            Reporter:
            Chris Bartlett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development