public static final class ENetConfigure.SelectorInfo extends Object implements Comparable<ENetConfigure.SelectorInfo>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ENetConfigure.SelectorInfo selector) |
boolean |
isDefault()
Returns
true if this user-defined selector
thread is the default selector. |
String |
name()
Returns the unique selector thread name.
|
long |
parkTime()
Returns the spin+park nanosecond park time.
|
int |
priority()
Returns the selector thread priority.
|
long |
spinLimit()
Returns a spin+park
ESelector spin limit. |
String |
toString() |
ThreadType |
type()
Returns the
ESelector type. |
public int compareTo(ENetConfigure.SelectorInfo selector)
compareTo in interface Comparable<ENetConfigure.SelectorInfo>public String name()
public ThreadType type()
ESelector type.public boolean isDefault()
true if this user-defined selector
thread is the default selector.true if the default selector thread.public int priority()
public long spinLimit()
ESelector spin limit.public long parkTime()
Copyright © 2019. All rights reserved.