public interface RejectedExecutionHandler
RejectedExecutionHandler but specific to SingleThreadExecutor.
Reference from netty project.| Modifier and Type | Method and Description |
|---|---|
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 © 2024. All rights reserved.