public class AbortPolicyWithReport extends ThreadPoolExecutor.AbortPolicy
| 构造器和说明 |
|---|
AbortPolicyWithReport(String threadName,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addThreadPoolExhaustedEventListener(ThreadPoolExhaustedListener listener) |
void |
dispatchThreadPoolExhaustedEvent(String msg)
dispatch ThreadPoolExhaustedEvent
|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e) |
void |
removeThreadPoolExhaustedEventListener(ThreadPoolExhaustedListener listener) |
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
public void addThreadPoolExhaustedEventListener(ThreadPoolExhaustedListener listener)
public void removeThreadPoolExhaustedEventListener(ThreadPoolExhaustedListener listener)
public void dispatchThreadPoolExhaustedEvent(String msg)
msg - Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.