Class DroppedRequestHandler

    • Constructor Detail

      • DroppedRequestHandler

        public DroppedRequestHandler()
    • Method Detail

      • rejectedExecution

        public void rejectedExecution​(Runnable r,
                                      ThreadPoolExecutor executor)
        Called when request is added to the pool but its queue is full.
        Specified by:
        rejectedExecution in interface RejectedExecutionHandler
        Parameters:
        r - the runnable for the event that is being dropped from the thread pool.
        executor - the executor