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.
|
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).