Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
GatewayThread(int port,
int destinationPort) |
Modifier and Type | Method and Description |
---|---|
void |
awaitUp() |
protected void |
closeQuietly(Closeable closable) |
void |
interrupt() |
void |
interruptAndJoin() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected void closeQuietly(Closeable closable)
public void interruptAndJoin() throws InterruptedException
InterruptedException
public void awaitUp()
Copyright © 2019. All rights reserved.