Class to wrap
SchedulerService pool so that tasks can be intercepted and either
wrapped, or modified, before being submitted to the pool. This class can be passed a lambda to
#SchedulerServiceTaskInterceptor(SchedulerService,BiFunction)}, or
#wrapTask(Runnable,boolean) can be overridden to provide the task which should be
submitted to the
SchedulerService. Please see the javadocs of
#wrapTask(Runnable,boolean) for more details about ways a task can be modified or
wrapped.
Other variants of task wrappers:
ExecutorTaskInterceptor,
SubmitterSchedulerTaskInterceptor,
PrioritySchedulerTaskInterceptor.