public interface RejectedExecutionHandler
RejectedExecutionHandler
但是特定于SingleThreadEventExecutor
。
Modifier and Type | Method and Description |
---|---|
void |
rejected(java.lang.Runnable task, SingleThreadEventExecutor executor)
当有人试图将任务添加到 SingleThreadEventExecutor 时调用,但由于容量限制而失败。
|
void rejected(java.lang.Runnable task, SingleThreadEventExecutor executor)
SingleThreadEventExecutor
时调用,但由于容量限制而失败。
Copyright © 2008–2018 The Netty Project. All rights reserved.