public class ConfluenceThreadLocalContextManager extends Object implements com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext>
Constructor and Description |
---|
ConfluenceThreadLocalContextManager(com.github.kristofa.brave.Brave brave) |
Modifier and Type | Method and Description |
---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread
|
com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext |
getThreadLocalContext()
Get the thread local context of the current thread
|
void |
setThreadLocalContext(com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext context)
Set the thread local context on the current thread
|
public ConfluenceThreadLocalContextManager(com.github.kristofa.brave.Brave brave)
public com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext getThreadLocalContext()
getThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext>
public void setThreadLocalContext(com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext context)
setThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext>
context
- The context to setpublic void clearThreadLocalContext()
clearThreadLocalContext
in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<com.atlassian.confluence.api.impl.sal.ConfluenceThreadLocalContextManager.ThreadLocalContext>
Copyright © 2003–2021 Atlassian. All rights reserved.