public class AuthThreadMonitor extends SpyObject
Constructor and Description |
---|
AuthThreadMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
authConnection(MemcachedConnection conn,
OperationFactory opFact,
AuthDescriptor authDescriptor,
MemcachedNode node)
Authenticate a new connection.
|
protected Map<Object,AuthThread> |
getNodeMap()
Returns Map of AuthThread for testing
authentication mechanisms for different
server versions.
|
void |
interruptAllPendingAuth()
Interrupt all pending
AuthThread s. |
public void authConnection(MemcachedConnection conn, OperationFactory opFact, AuthDescriptor authDescriptor, MemcachedNode node)
conn
- opFact
- authDescriptor
- node
- public void interruptAllPendingAuth()
AuthThread
s.
While shutting down a connection, if there are any AuthThread
s
running, terminate them so that the java process can exit gracefully (
otherwise it will wait infinitely).protected Map<Object,AuthThread> getNodeMap()
Copyright © 2015. All rights reserved.