public interface ContextProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContextProvider.NoOp |
| Modifier and Type | Method and Description |
|---|---|
<A> java.util.concurrent.Callable |
wrapInContextAware(java.util.concurrent.Callable<A> callable)
Wraps a
Callable so that it executes with the context that is associated with the
current context. |
java.lang.Runnable |
wrapInContextAware(java.lang.Runnable runnable)
Wraps a
Runnable so that it executes with the context that is associated with the
current context. |
java.lang.Runnable wrapInContextAware(java.lang.Runnable runnable)
Runnable so that it executes with the context that is associated with the
current context.runnable - a Runnable objectRunnable object<A> java.util.concurrent.Callable wrapInContextAware(java.util.concurrent.Callable<A> callable)
Callable so that it executes with the context that is associated with the
current context.callable - a Callable objectCallable object