public interface SelectStrategy
Modifier and Type | Field and Description |
---|---|
static int |
CONTINUE
指示IO循环应该重试,无阻塞选择直接跟踪。
|
static int |
SELECT
表示应该关闭阻止选择。
|
Modifier and Type | Method and Description |
---|---|
int |
calculateStrategy(IntSupplier selectSupplier, boolean hasTasks)
SelectStrategy 可用于引导潜在选择呼叫的结果。
|
static final int SELECT
static final int CONTINUE
int calculateStrategy(IntSupplier selectSupplier, boolean hasTasks) throws java.lang.Exception
SelectStrategy
可用于引导潜在选择呼叫的结果。
Copyright © 2008–2018 The Netty Project. All rights reserved.