Uses of Class
org.opendaylight.yangtools.util.concurrent.CountingRejectedExecutionHandler
-
Packages that use CountingRejectedExecutionHandler Package Description org.opendaylight.yangtools.util.concurrent 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 CountingRejectedExecutionHandler Modifier and Type Method Description static CountingRejectedExecutionHandler
CountingRejectedExecutionHandler. newAbortPolicy()
Returns a counting handler for rejected tasks that throws a RejectedExecutionException.static CountingRejectedExecutionHandler
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.static CountingRejectedExecutionHandler
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.
-