Interface OffRequestThreadExecutor

All Superinterfaces:
Executor
All Known Implementing Classes:
OffRequestThreadExecutorImpl

@PublicApi public interface OffRequestThreadExecutor extends Executor
If you ever need to run code in JIRA off a HTTP request thread then you can sue this class to help setup and clean up the thread environment.

JIRA uses a fair few ThreadLocal variables setup during HTTP requests to contain common information such as the logged in user and their Locale and so on say via JiraAuthenticationContext

This class will help you run the off request thread code and clean up after it properly.

Since:
v6.0