public interface ThreadLocalContextManager<C>
Object.equals(Object)
.Modifier and Type | Method and Description |
---|---|
void |
clearThreadLocalContext()
Clear the thread local context on the current thread.
|
C |
getThreadLocalContext()
Get the thread local context of the current thread.
|
void |
setThreadLocalContext(C context)
Set the thread local context on the current thread.
|
C getThreadLocalContext()
void setThreadLocalContext(C context)
context
- The context to setClassCastException
- if the given context is not an instance created via getThreadLocalContext()
.void clearThreadLocalContext()
Copyright © 2015 Atlassian. All rights reserved.