Add a connection observer.
Add a connection observer.
If connections are already established, your observer will be called with the address and -1.
the ConnectionObserver you wish to add
true if the observer was added.
A connection has just successfully been established on the given socket.
A connection has just successfully been established on the given socket.
the address of the node whose connection was established
the number of attempts before the connection was established
Shut down immediately.
Wait for the queues to die down.
Wait for the queues to die down.
the amount of time time for shutdown
the TimeUnit for the timeout
result of the request for the wait
IllegalStateException
in the rare circumstance where queue is too
full to accept any more requests
Hooking in the SpyMemcached Internals.