net.spy
Class SpyThread
java.lang.Object
java.lang.Thread
net.spy.SpyThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- CacheClearRequestListener, Cron, LoopingThread, QuickRun, SpyLogFlusher, SpyRunner, TTLMonitor
- public class SpyThread
- extends Thread
Superclass for all Spy Threads.
|
Method Summary |
protected Logger |
getLogger()
Get a Logger instance for this class. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
SpyThread
public SpyThread()
- Get an instance of SpyThread.
SpyThread
public SpyThread(String name)
- Get an instance of SpyThread with a name.
- Parameters:
name - thread name
SpyThread
public SpyThread(ThreadGroup t,
String name)
- Get an instance of SpyThread with a name.
- Parameters:
t - the threadgroup in which this Thread will survivename - thread name
getLogger
protected Logger getLogger()
- Get a Logger instance for this class.
- Returns:
- an appropriate logger instance.