Class SpyThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Direct Known Subclasses:
    AuthThread, MemcachedConnection, SyncThread

    public class SpyThread
    extends java.lang.Thread
    Superclass for all Spy Threads.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Logger logger  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      SpyThread()
      Get an instance of SpyThread.
      SpyThread​(java.lang.String name)
      Get an instance of SpyThread with a name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Logger getLogger()
      Get a Logger instance for this class.
      • Methods 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • logger

        private transient Logger logger
    • Constructor Detail

      • SpyThread

        public SpyThread()
        Get an instance of SpyThread.
      • SpyThread

        public SpyThread​(java.lang.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.