RejectedExecutionHandler
blocks the current thread until the
backing queue for a ThreadPoolExecutor
can accept another task.HeapQueueingStrategy
with the given parameters.ThreadMXBean
implementation to provide thread information.BalancingThreadPoolExecutor
with the given
maximum number of threads and target utilization.BalancingThreadPoolExecutor
with the given
maximum number of threads, target utilization, smoothing weight, and
balance after values.BalancingThreadPoolExecutor
with the given
ThreadPoolExecutor
, target utilization, smoothing weight, and
balance after values.HeapQueueingStrategy
with the given parameters.ThreadPoolExecutor
is using, effectively blocking
execution until the put() succeeds or results in an
InterruptedException
which is wrapped and rethrown as
a RejectedExecutionException
.BalancingThreadPoolExecutor
instances.