Uses of Class
org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
Packages that use CountingRejectedExecutionHandler
Package
Description
Utility classes for dealing with asynchronous and concurrent tasks.
-
Uses of CountingRejectedExecutionHandler in org.opendaylight.yangtools.util.concurrent
Methods in org.opendaylight.yangtools.util.concurrent that return CountingRejectedExecutionHandlerModifier and TypeMethodDescriptionCountingRejectedExecutionHandler.newAbortPolicy()
Returns a counting handler for rejected tasks that throws a RejectedExecutionException.CountingRejectedExecutionHandler.newCallerRunsPolicy()
Returns a counting handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.CountingRejectedExecutionHandler.newCallerWaitsPolicy()
Returns a counting handler for rejected tasks that blocks on theThreadPoolExecutor
's backing queue until it can add the task to the queue.