Modifier and Type | Class and Description |
---|---|
static class |
Reactor.PaddingAtomicBoolean |
static class |
Reactor.RegisterEvent |
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WAIT |
static int |
JVMBUG_THRESHHOLD
JVM bug threshold
|
static int |
JVMBUG_THRESHHOLD1 |
static int |
JVMBUG_THRESHHOLD2 |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
dispatchEvent(Set<SelectionKey> selectedKeySet)
Dispatch selected event
|
int |
getReactorIndex() |
Selector |
getSelector() |
void |
postSelect(Set<SelectionKey> selectedKeys,
Set<SelectionKey> allKeys) |
void |
registerChannel(SelectableChannel channel,
int ops,
Object attachment) |
void |
registerSession(Session session,
EventType event) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static final int JVMBUG_THRESHHOLD
public static final int JVMBUG_THRESHHOLD2
public static final int JVMBUG_THRESHHOLD1
public static final int DEFAULT_WAIT
public final Selector getSelector()
public int getReactorIndex()
public final void dispatchEvent(Set<SelectionKey> selectedKeySet)
selectedKeySet
- public final void postSelect(Set<SelectionKey> selectedKeys, Set<SelectionKey> allKeys)
public final void registerChannel(SelectableChannel channel, int ops, Object attachment)
Copyright © 2021. All rights reserved.