com.atlassian.jira.util.thread
Class OffRequestThreadExecutorImpl
java.lang.Object
com.atlassian.jira.util.thread.OffRequestThreadExecutorImpl
- All Implemented Interfaces:
- OffRequestThreadExecutor, Executor
public class OffRequestThreadExecutorImpl
- extends Object
- implements OffRequestThreadExecutor
The implementation of OffRequestThreadExecutor
- Since:
- v6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OffRequestThreadExecutorImpl
public OffRequestThreadExecutorImpl(JiraAuthenticationContext jiraAuthenticationContext)
execute
public void execute(Runnable command)
- Description copied from interface:
OffRequestThreadExecutor
- Executes the code with No user in context via
JiraAuthenticationContext
- Specified by:
execute
in interface OffRequestThreadExecutor
- Specified by:
execute
in interface Executor
- Parameters:
command
- the code to run
execute
public void execute(ApplicationUser runAsUser,
Runnable command)
- Description copied from interface:
OffRequestThreadExecutor
- Executes the code with the specified user in context via
JiraAuthenticationContext
- Specified by:
execute
in interface OffRequestThreadExecutor
- Parameters:
runAsUser
- the user to run the code ascommand
- the code to run
Copyright © 2002-2013 Atlassian. All Rights Reserved.