| com.atlassian.jira.task.ImportTaskManager |
Known Indirect Subclasses
| |||||||||||||
A simplified version of the TaskManager. This interface should only be used for data imports.
Implementations should *not* rely on any external dependencies since they will get refreshed during a data import
which can cause all sorts of issues during an import. Also depending on any external dependencies will double memory
consumption potentially during an import.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears a set of cached I18n strings used by import progress page (JRADEV-22513)
| |||||||||||
Returns a set of cached I18n strings used by import progress page (JRADEV-22513)
| |||||||||||
Returns the
TaskDescriptor of the current import task that's running | |||||||||||
Prepares a set of cached I18n strings used by import progress page (JRADEV-22513)
| |||||||||||
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. | |||||||||||
Clears a set of cached I18n strings used by import progress page (JRADEV-22513)
Returns a set of cached I18n strings used by import progress page (JRADEV-22513)
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.
Prepares a set of cached I18n strings used by import progress page (JRADEV-22513)
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 |
| RejectedExecutionException | if the task manager is being shutdown and cannot accept new tasks. |
|---|---|
| AlreadyExecutingException | if another import task is already running in the task manager. |

