Creates an java.util.concurrent.ExecutorService
with bounded work queue and fixed lower
and upper bounds on the thread pool size used to service the work queue.
Creates an java.util.concurrent.ExecutorService
with bounded work queue and fixed lower
and upper bounds on the thread pool size used to service the work queue. The returned executor
service will export stats monitoring queue depth, active thread count and rejections due to
queue full conditions.
Creates an java.util.concurrent.ExecutorService
with bounded work queue and fixed lower
and upper bounds on the thread pool size used to service the work queue.
Creates an java.util.concurrent.ExecutorService
with bounded work queue and fixed lower
and upper bounds on the thread pool size used to service the work queue. The returned executor
service will export stats monitoring queue depth, active thread count and rejections due to
queue full conditions.
The supplied config map requires the following configuration keys:
Farm out separate threads using an ExecutorService to perform work on inputs.
Farm out separate threads using an ExecutorService to perform work on inputs. Unlike ExecutorUtils.parallelWork, no values are returned. If an exception occurs in a worker thread, it is rethrown on the calling thread.
the ExecutorService to use for parallelization
a sequence of inputs to work on
the work to apply to the inputs
Farm out separate threads using an ExecutorService to perform work on inputs
Farm out separate threads using an ExecutorService to perform work on inputs
the ExecutorService to use for parallelization
a sequence of inputs to work on
the work to apply to the inputs
Utility class for unbounded and bounded parallel execution