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 java.util.Map<java.lang.Object,AuthThread> |
getNodeMap()
Returns Map of AuthThread for testing
authentication mechanisms for different
server versions.
|
void |
interruptAllPendingAuth()
Interrupt all pending
AuthThreads. |
public void authConnection(MemcachedConnection conn, OperationFactory opFact, AuthDescriptor authDescriptor, MemcachedNode node)
conn - opFact - authDescriptor - node - public void interruptAllPendingAuth()
AuthThreads.
While shutting down a connection, if there are any AuthThreads
running, terminate them so that the java process can exit gracefully (
otherwise it will wait infinitely).protected java.util.Map<java.lang.Object,AuthThread> getNodeMap()
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.