public class DroppedRequestHandler extends Object implements RejectedExecutionHandler
Constructor and Description |
---|
DroppedRequestHandler() |
Modifier and Type | Method and Description |
---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor)
Called when request is added to the pool but its queue is full.
|
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution
in interface RejectedExecutionHandler
r
- the runnable for the event that is being dropped from the thread pool.executor
- the executorCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.