- All Known Implementing Classes:
MdcBackgroundExecutorWrapper
public interface BackgroundExecutorWrapper
BackgroundExecutorWrapper that can be used to wrap tasks that are sent to background (i.e. another thread).
It should copy all necessary thread-local variables. See
MdcBackgroundExecutorWrapper
for implementation details.- Author:
- Roland Praml, FOCONIS AG
-
Method Summary
Modifier and TypeMethodDescriptiondefault BackgroundExecutorWrapper
with
(BackgroundExecutorWrapper inner) Combines two wrappers by nesting them.Wrap the task with MDC context if defined.<T> Callable<T>
Wrap the task with MDC context if defined.
-
Method Details
-
wrap
Wrap the task with MDC context if defined. -
wrap
Wrap the task with MDC context if defined. -
with
Combines two wrappers by nesting them.
-