Package com.danga.MemCached
Class SockIOPool.MaintThread
java.lang.Object
java.lang.Thread
com.danga.MemCached.SockIOPool.MaintThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- SockIOPool
Class which extends thread and handles maintenance of the pool.
- Version:
- 1.5
- Author:
- greg whalin <greg@meetup.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private static org.apache.log4j.Logger
private SockIOPool
private boolean
private boolean
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
run()
Start the thread.void
setInterval
(long interval) void
sets stop variable and interupts any waitMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
log
private static org.apache.log4j.Logger log -
pool
-
interval
private long interval -
stopThread
private boolean stopThread -
running
private boolean running
-
-
Constructor Details
-
MaintThread
-
-
Method Details