java.lang.Object | |
↳ | com.atlassian.jira.util.thread.JiraThreadLocalUtilImpl |
A concrete implementation of JiraThreadLocalUtil
so that plugin
developers can have an API route into the JiraThreadLocalUtils
cleanup code.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This convenience method is equivalent to
postCall(log, null) . | |||||||||||
This should be called in a
finally block to clear up ThreadLocal s
once the runnable stuff has been done. | |||||||||||
This should be called before any "runnable code" is called.
|
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||
From interface
com.atlassian.jira.util.thread.JiraThreadLocalUtil
|
This convenience method is equivalent to
postCall(log, null)
.
log | as for postCall(Logger, WarningCallback)
|
---|
This should be called in a finally
block to clear up ThreadLocal
s
once the runnable stuff has been done.
log | the log to write error messages to in case of any problems |
---|---|
warningCallback | the callback to invoke in case where problems are
detected after the runnable code is done running and its not cleaned up properly.
This may be null , in which case those problems are logged as errors.
|
This should be called before any "runnable code" is called.
This will setup a clean ThreadLocal
environment for the runnable
code to execute in.