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 eventsConstructor 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 RejectedExecutionHandler
rejectedExecution
in class ThreadPoolExecutor.CallerRunsPolicy
Copyright © 2003–2016 Atlassian. All rights reserved.