public interface RejectedExecutionHandler
RejectedExecutionHandler but specific to SingleThreadExecutor.
Reference from netty project.| 限定符和类型 | 方法和说明 |
|---|---|
void |
rejected(Runnable task,
SingleThreadExecutor executor)
Called when someone tried to add a task to
SingleThreadExecutor but
this failed due capacity restrictions. |
void rejected(Runnable task, SingleThreadExecutor executor)
SingleThreadExecutor but
this failed due capacity restrictions.Copyright © 2021. All rights reserved.