Executor that can take a priority value (lower is higher
priority) along with a closure which is used when assigning work
to Threads. Tasks without a priority value will be treated as
low priority.
Note that once a task has been accepted, it will not be stopped, so
a low priority task that has been accepted will continue to run
even if high priority tasks are subsequently submitted.
Linear Supertypes
ThreadPoolExecutor, AbstractExecutorService, ExecutorService, Executor, AnyRef, Any
Executor
that can take a priority value (lower is higher priority) along with a closure which is used when assigning work toThread
s. Tasks without a priority value will be treated as low priority.Note that once a task has been accepted, it will not be stopped, so a low priority task that has been accepted will continue to run even if high priority tasks are subsequently submitted.