public class MonitorableCallerRunsPolicy extends ThreadPoolExecutor.CallerRunsPolicy
ThreadPoolExecutor.CallerRunsPolicy implementation which logs debug message
if there are no more threads or queue slots available to process all events| Constructor and Description |
|---|
MonitorableCallerRunsPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e) |
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution in interface RejectedExecutionHandlerrejectedExecution in class ThreadPoolExecutor.CallerRunsPolicyCopyright © 2003–2018 Atlassian. All rights reserved.