Package net.spy.memcached.auth
Class BinaryAuthThread
java.lang.Object
java.lang.Thread
net.spy.memcached.compat.SpyThread
net.spy.memcached.auth.BinaryAuthThread
- All Implemented Interfaces:
Runnable
A thread that does SASL authentication.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.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.static final StringFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescription -
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, 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:
-
-
Constructor Details
-
BinaryAuthThread
public BinaryAuthThread(MemcachedConnection c, OperationFactory o, AuthDescriptor a, MemcachedNode n)
-
-
Method Details