| Modifier and Type | Field and Description |
|---|---|
static ThreadType |
ENetConfigure.DEFAULT_SELECTOR_TYPE
The default selector type is
BLOCKING. |
| Modifier and Type | Method and Description |
|---|---|
static ThreadType |
ThreadType.find(String s)
Returns the thread type with a text name equaling
s, ignoring case. |
ThreadType |
EConfigure.Dispatcher.runQueueType()
Returns the thread type which defines how the next
client is acquired from the run queue.
|
ThreadType |
ENetConfigure.SelectorInfo.type()
Returns the
ESelector type. |
static ThreadType |
ThreadType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
ThreadType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EConfigure.DispatcherBuilder |
EConfigure.DispatcherBuilder.threadType(ThreadType type)
Sets the run queue thread type.
|
ENetConfigure.SelectorInfoBuilder |
ENetConfigure.SelectorInfoBuilder.type(ThreadType type)
Sets the selector thread type to the given value.
|
Copyright © 2020. All rights reserved.