net.spy.memcached.compat
Class SpyThread

java.lang.Object
  extended by java.lang.Thread
      extended by net.spy.memcached.compat.SpyThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
MemcachedClient, SyncThread

public class SpyThread
extends Thread

Superclass for all Spy Threads.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SpyThread()
          Get an instance of SpyThread.
SpyThread(String name)
          Get an instance of SpyThread with a name.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

getLogger

protected Logger getLogger()
Get a Logger instance for this class.

Returns:
an appropriate logger instance.