java.lang.Object
com.aoapps.lang.concurrent.ThreadLocalsTaskWrapper
- All Implemented Interfaces:
TaskWrapper
Copies any number of ThreadLocal values from the current thread onto the thread
that runs the provided task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThreadLocalsTaskWrapper
-
-
Method Details
-
wrap
Description copied from interface:TaskWrapperWraps the given callable.- Specified by:
wrapin interfaceTaskWrapper
-
wrap
Description copied from interface:TaskWrapperWraps the given runnable.- Specified by:
wrapin interfaceTaskWrapper
-
