Package net.spy.memcached.auth
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 java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
If a SASL step takes longer than this period in milliseconds, a warning will be issued instead of a debug message.static final int
If the total AUTH steps take longer than this period in milliseconds, a warning will be issued instead of a debug message.private final AuthDescriptor
private final MemcachedConnection
static final String
private final MemcachedNode
private final OperationFactory
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprivate Operation
buildOperation
(OperationStatus st, OperationCallback cb, String[] supportedMechs) protected String[]
void
run()
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:
-
conn
-
authDescriptor
-
opFact
-
node
-
-
Constructor Details
-
AuthThread
-
-
Method Details