[ https://issues.apache.org/jira/browse/PIVOT-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Bartlett resolved PIVOT-787. ---------------------------------- Resolution: Fixed > Allow a Task to be executed using an ExecutorService supplied at execution > time > ------------------------------------------------------------------------------- > > Key: PIVOT-787 > URL: https://issues.apache.org/jira/browse/PIVOT-787 > Project: Pivot > Issue Type: Improvement > Components: core-util > Affects Versions: 2.0 > Environment: n/a > Reporter: Chris Bartlett > Assignee: Chris Bartlett > Priority: Minor > Fix For: 2.0.1 > > Attachments: task_executor_service.patch > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira