public class CrowdThreadLocalStateAccessor extends Object implements ThreadLocalStateAccessor
Currently handles:
| Constructor and Description |
|---|
CrowdThreadLocalStateAccessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearState()
Clear the all the thread locals for the current thread.
|
ThreadLocalState |
getState()
Return the state of all the thread locals for the current thread.
|
void |
setState(ThreadLocalState state)
Set the thread locals of the current thread with the values contained in the supplied state.
|
public ThreadLocalState getState()
ThreadLocalStateAccessorgetState in interface ThreadLocalStateAccessorThreadLocalStatepublic void setState(ThreadLocalState state)
ThreadLocalStateAccessorsetState in interface ThreadLocalStateAccessorstate - a ThreadLocalStatepublic void clearState()
ThreadLocalStateAccessorclearState in interface ThreadLocalStateAccessorCopyright © 2020 Atlassian. All rights reserved.