protected static class SockIOPool.MaintThread
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private long |
interval |
private static org.apache.log4j.Logger |
log |
private SockIOPool |
pool |
private boolean |
running |
private boolean |
stopThread |
Modifier | Constructor and Description |
---|---|
protected |
SockIOPool.MaintThread(SockIOPool pool) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning() |
void |
run()
Start the thread.
|
void |
setInterval(long interval) |
void |
stopThread()
sets stop variable
and interupts any wait
|
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
private static org.apache.log4j.Logger log
private SockIOPool pool
private long interval
private boolean stopThread
private boolean running
protected SockIOPool.MaintThread(SockIOPool pool)
public void setInterval(long interval)
public boolean isRunning()
public void stopThread()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Copyright © 2005 - greg whalin