Class SpyThread

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

public class SpyThread extends Thread
Superclass for all Spy Threads.
  • Field Details

    • logger

      private transient Logger logger
  • Constructor Details

    • 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 Details

    • getLogger

      protected Logger getLogger()
      Get a Logger instance for this class.
      Returns:
      an appropriate logger instance.