public class TaskRejectNotifyAlarmPlugin extends Object implements RejectedAwarePlugin
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PLUGIN_NAME |
| 构造器和说明 |
|---|
TaskRejectNotifyAlarmPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
beforeRejectedExecution(Runnable runnable,
ThreadPoolExecutor executor)
Callback before task is rejected.
|
String |
getId()
Get id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPluginRuntime, start, stoppublic String getId()
getId 在接口中 ThreadPoolPluginpublic void beforeRejectedExecution(Runnable runnable, ThreadPoolExecutor executor)
beforeRejectedExecution 在接口中 RejectedAwarePluginrunnable - taskexecutor - executorCopyright © 2022. All rights reserved.