Class AuthThread
java.lang.Object
java.lang.Thread
net.spy.memcached.compat.SpyThread
net.spy.memcached.auth.AuthThread
- All Implemented Interfaces:
Runnable
A thread that does SASL authentication.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf a SASL step takes longer than this period in milliseconds, a warning will be issued instead of a debug message.static final intIf the total AUTH steps take longer than this period in milliseconds, a warning will be issued instead of a debug message.private final AuthDescriptorprivate final MemcachedConnectionstatic final Stringprivate final MemcachedNodeprivate final OperationFactoryFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprivate OperationbuildOperation(OperationStatus st, OperationCallback cb, String[] supportedMechs) protected String[]voidrun()Methods inherited from class Thread
activeCount, checkAccess, clone, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
AUTH_ROUNDTRIP_THRESHOLD
public static final int AUTH_ROUNDTRIP_THRESHOLDIf a SASL step takes longer than this period in milliseconds, a warning will be issued instead of a debug message.- See Also:
-
AUTH_TOTAL_THRESHOLD
public static final int AUTH_TOTAL_THRESHOLDIf the total AUTH steps take longer than this period in milliseconds, a warning will be issued instead of a debug message.- See Also:
-
MECH_SEPARATOR
- See Also:
-
conn
-
authDescriptor
-
opFact
-
node
-
-
Constructor Details
-
AuthThread
-
-
Method Details
-
listSupportedSASLMechanisms
-
run
-
buildOperation
-