net.spy
Class SpyThread
java.lang.Object
java.lang.Thread
net.spy.SpyThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- CacheClearRequestListener, Cron, LoopingThread, SyncThread
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, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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.
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.