public class ForceQueuePolicy extends Object implements RejectedExecutionHandler
RejectedExecutionHandler that just re-attempts to put into the queue.| Constructor and Description |
|---|
ForceQueuePolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution in interface RejectedExecutionHandler