Package net.spy.memcached.compat
Class SpyThread
java.lang.Object
java.lang.Thread
net.spy.memcached.compat.SpyThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
AuthThread
,MemcachedConnection
,SyncThread
Superclass for all Spy Threads.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
logger
-
-
Constructor Details
-
SpyThread
public SpyThread()Get an instance of SpyThread. -
SpyThread
Get an instance of SpyThread with a name.- Parameters:
name
- thread name
-
-
Method Details
-
getLogger
Get a Logger instance for this class.- Returns:
- an appropriate logger instance.
-