Constructor and Description |
---|
AbortableTaskRunnable(MdcContext mdcContext,
Runnable delegate,
SharedTaskContext sharedTaskContext)
Construct a new instance.
|
public AbortableTaskRunnable(@NotNull MdcContext mdcContext, @NotNull Runnable delegate, @NotNull SharedTaskContext sharedTaskContext)
mdcContext
- the MDC context (of the calling thread).delegate
- the delegate to run.sharedTaskContext
- the abort strategy to set.