public class AbortPolicyWithReport extends ThreadPoolExecutor.AbortPolicy
| Constructor and Description |
|---|
AbortPolicyWithReport(String threadName,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchThreadPoolExhaustedEvent(String msg)
dispatch ThreadPoolExhaustedEvent
|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e) |
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution in interface RejectedExecutionHandlerrejectedExecution in class ThreadPoolExecutor.AbortPolicypublic void dispatchThreadPoolExhaustedEvent(String msg)
msg - Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.