net.spy.memcached.auth.AuthThreadMonitor Maven / Gradle / Ivy
The newest version!
package net.spy.memcached.auth;
import java.util.HashMap;
import java.util.Map;
import net.spy.memcached.MemcachedConnection;
import net.spy.memcached.MemcachedNode;
import net.spy.memcached.OperationFactory;
import net.spy.memcached.compat.SpyObject;
/**
* This will ensure no more than one AuthThread will exist for a given
* MemcachedNode.
*/
public class AuthThreadMonitor extends SpyObject {
private Map