Interface ThreadSynchroniser

All Known Implementing Classes:
SpringDataThreadSynchroniser

public interface ThreadSynchroniser
Synchronises the ThreadLocal instances on Thread to Thread interaction between Team instances.
Author:
Daniel Sagenschneider
  • Method Details

    • suspendThread

      void suspendThread()
      Suspends the current Thread by:
      1. storing ThreadLocal state, and then
      2. clearing state off the Thread
    • resumeThread

      void resumeThread()
      Resumes the Thread by loading the suspended state into the ThreadLocal instances of the current Thread.