Class OrderedExecutor.ContextPreservingCallable<T>
- java.lang.Object
-
- org.apache.bookkeeper.common.util.OrderedExecutor.ContextPreservingCallable<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
- Enclosing class:
- OrderedExecutor
static class OrderedExecutor.ContextPreservingCallable<T> extends java.lang.Object implements java.util.concurrent.Callable<T>
Decorator class for a callable that preserves MDC context.
-
-
Constructor Summary
Constructors Constructor Description ContextPreservingCallable(java.util.concurrent.Callable<T> callable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
call()
-