Interface ThreadLocalStateAccessor

All Known Implementing Classes:
CrowdThreadLocalStateAccessor

public interface ThreadLocalStateAccessor
Service to access the application's ThreadLocal state.
Since:
v2.7
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear the all the thread locals for the current thread.
    Return the state of all the thread locals for the current thread.
    void
    Set the thread locals of the current thread with the values contained in the supplied state.
  • Method Details

    • getState

      ThreadLocalState getState()
      Return the state of all the thread locals for the current thread.
      Returns:
      a ThreadLocalState
    • setState

      void setState(ThreadLocalState state)
      Set the thread locals of the current thread with the values contained in the supplied state.
      Parameters:
      state - a ThreadLocalState
    • clearState

      void clearState()
      Clear the all the thread locals for the current thread.