Package net.officefloor.frame.api.thread
Interface ThreadSynchroniser
- All Known Implementing Classes:
SpringDataThreadSynchroniser
public interface ThreadSynchroniser
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidResumes theThreadby loading the suspended state into theThreadLocalinstances of the currentThread.void
-
Method Details
-
suspendThread
void suspendThread()Suspends the currentThreadby:- storing
ThreadLocalstate, and then - clearing state off the
Thread
- storing
-
resumeThread
void resumeThread()Resumes theThreadby loading the suspended state into theThreadLocalinstances of the currentThread.
-