Class CrowdThreadLocalContextManager

java.lang.Object
com.atlassian.sal.crowd.executor.CrowdThreadLocalContextManager
All Implemented Interfaces:
com.atlassian.sal.api.executor.ThreadLocalContextManager<ThreadLocalState>

public class CrowdThreadLocalContextManager extends Object implements com.atlassian.sal.api.executor.ThreadLocalContextManager<ThreadLocalState>
Crowd thread local context manager.
Since:
2.0.0
  • Constructor Details

    • CrowdThreadLocalContextManager

      public CrowdThreadLocalContextManager(ThreadLocalStateAccessor threadLocalStateAccessor)
  • Method Details

    • getThreadLocalContext

      public ThreadLocalState getThreadLocalContext()
      Specified by:
      getThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<ThreadLocalState>
    • setThreadLocalContext

      public void setThreadLocalContext(ThreadLocalState context)
      Specified by:
      setThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<ThreadLocalState>
    • clearThreadLocalContext

      public void clearThreadLocalContext()
      Specified by:
      clearThreadLocalContext in interface com.atlassian.sal.api.executor.ThreadLocalContextManager<ThreadLocalState>