Thread.State, Thread.UncaughtExceptionHandler| 限定符和类型 | 字段和说明 |
|---|---|
protected AtomicInteger |
size |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
Connector(int reactorThreads) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
create(String uri,
ConnectionHandler handler,
boolean keepAlive,
boolean noDelay) |
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, yieldprotected final AtomicInteger size
public Connector(int reactorThreads)
throws IOException
IOExceptionpublic final void close()
public final void create(String uri, ConnectionHandler handler, boolean keepAlive, boolean noDelay) throws IOException
IOExceptionCopyright © 2018. All rights reserved.