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()
ThreadLocalStateAccessor
getState
in interface ThreadLocalStateAccessor
ThreadLocalState
public void setState(ThreadLocalState state)
ThreadLocalStateAccessor
setState
in interface ThreadLocalStateAccessor
state
- a ThreadLocalState
public void clearState()
ThreadLocalStateAccessor
clearState
in interface ThreadLocalStateAccessor
Copyright © 2021 Atlassian. All rights reserved.