Package net.officefloor.frame.api.thread
Interface ThreadSynchroniser
-
- All Known Implementing Classes:
SpringDataThreadSynchroniser
public interface ThreadSynchroniser
- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resumeThread()
Resumes theThread
by loading the suspended state into theThreadLocal
instances of the currentThread
.void
suspendThread()
Suspends the currentThread
by: storingThreadLocal
state, and then clearing state off theThread
-