Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-787

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • core-util
    • None
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cbartlett Christopher James Bartlett
            cbartlett Christopher James Bartlett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment