public class TimerThread
extends java.lang.Thread
Constructor and Description |
---|
TimerThread(WebServer server) |
Modifier and Type | Method and Description |
---|---|
void |
putTimer(java.nio.channels.SelectionKey selectionKey,
long timeOutTime) |
void |
removeTimer(java.nio.channels.SelectionKey selectionKey) |
void |
run() |
void |
stopThread() |
activeCount, checkAccess, 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 TimerThread(WebServer server)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void putTimer(java.nio.channels.SelectionKey selectionKey, long timeOutTime)
public void removeTimer(java.nio.channels.SelectionKey selectionKey)
public void stopThread()