public class ThrottleManager<T extends Throttler>
extends java.lang.Object
Constructor and Description |
---|
ThrottleManager(java.util.List<java.net.InetSocketAddress> initialNodes,
java.lang.Class<T> throttler,
CouchbaseConnection conn,
net.spy.memcached.OperationFactory opFact) |
Modifier and Type | Method and Description |
---|---|
T |
getThrottler(java.net.InetSocketAddress node) |
void |
removeThrottler(java.net.InetSocketAddress node) |
ThrottleManager |
setThrottler(java.net.InetSocketAddress node) |
public ThrottleManager(java.util.List<java.net.InetSocketAddress> initialNodes, java.lang.Class<T> throttler, CouchbaseConnection conn, net.spy.memcached.OperationFactory opFact)
public final ThrottleManager setThrottler(java.net.InetSocketAddress node)
public T getThrottler(java.net.InetSocketAddress node)
public void removeThrottler(java.net.InetSocketAddress node)
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.