public class RoundRobinMemcacheClient extends AbstractMultiMemcacheClient
| Modifier and Type | Field and Description |
|---|---|
private List<RawMemcacheClient> |
clients |
private AtomicInteger |
counter |
private int |
numClients |
| Constructor and Description |
|---|
RoundRobinMemcacheClient(List<RawMemcacheClient> clients) |
| Modifier and Type | Method and Description |
|---|---|
private RawMemcacheClient |
getClient() |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
send(Request<T> request) |
connectionChanged, isConnected, numActiveConnections, numTotalConnections, shutdown, toStringnotifyConnectionChange, registerForConnectionChanges, unregisterForConnectionChangesprivate final AtomicInteger counter
private final List<RawMemcacheClient> clients
private final int numClients
public RoundRobinMemcacheClient(List<RawMemcacheClient> clients)
public <T> com.google.common.util.concurrent.ListenableFuture<T> send(Request<T> request)
private RawMemcacheClient getClient()
Copyright © 2017 Spotify AB. All Rights Reserved.