Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
BkTimeable(Back back,
long msec)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Socket socket)
Accept and dispatch this socket.
|
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 BkTimeable(Back back, long msec)
back
- Original backmsec
- Execution latencypublic void accept(Socket socket) throws IOException
Back
accept
in interface Back
socket
- TCP socket with HTTPIOException
- If failsCopyright © 2015–2019 Take. All rights reserved.