Package org.hawaiiframework.async
Class AbortableTaskRunnable
- java.lang.Object
-
- org.hawaiiframework.async.AbortableTaskRunnable
-
-
Constructor Summary
Constructors Constructor Description AbortableTaskRunnable(@NotNull MdcContext mdcContext, @NotNull Runnable delegate, @NotNull SharedTaskContext sharedTaskContext)
Construct a new instance.
-
-
-
Constructor Detail
-
AbortableTaskRunnable
public AbortableTaskRunnable(@NotNull @NotNull MdcContext mdcContext, @NotNull @NotNull Runnable delegate, @NotNull @NotNull SharedTaskContext sharedTaskContext)
Construct a new instance.- Parameters:
mdcContext
- the MDC context (of the calling thread).delegate
- the delegate to run.sharedTaskContext
- the abort strategy to set.
-
-