| java.lang.Object | |
| ↳ | com.atlassian.jira.task.ImportTaskManagerImpl |
An implementation of a ImportTaskManager. This manager uses an ExecutorService to run
submitted tasks.
It should have *no* external dependencies and should *not* be injectable!
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
TaskDescriptor of the current import task that's running | |||||||||||
Attempts to aggressively stop the executing tasks and shuts down the underlying thread pool.
| |||||||||||
This submits a
Callable task to the manager which can then be started at the
managers discretion, but hopefully very soon. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||
From interface
com.atlassian.jira.task.ImportTaskManager
| |||||||||||||||||
Returns the TaskDescriptor of the current import task that's running
TaskDescriptor or null if the manager has not such task. The descriptor returned is a snapshot
of the task state when the method returns will not reflect any future changes. null will be
returned when no matching task can be found.
Attempts to aggressively stop the executing tasks and shuts down the underlying thread pool.
This submits a Callable task to the manager which can then be started at the
managers discretion, but hopefully very soon. The TaskDescriptor returned is a snapshot of the task's
state when the method returns and will not change to reflect the task's future state changes.
| callable | the long running task |
|---|---|
| taskName | An i18nized string describing this task |

