public class KetamaMemcacheClient extends AbstractMultiMemcacheClient
| Modifier and Type | Class and Description |
|---|---|
private static class |
KetamaMemcacheClient.Assembler<T,R> |
| Modifier and Type | Field and Description |
|---|---|
private Continuum |
continuum |
clients| Constructor and Description |
|---|
KetamaMemcacheClient(Collection<AddressAndClient> clients) |
| Modifier and Type | Method and Description |
|---|---|
private static Collection<RawMemcacheClient> |
clientsOnly(Collection<AddressAndClient> addressAndClients) |
private RawMemcacheClient |
getClient(byte[] key) |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
send(Request<T> request) |
private <T> com.google.common.util.concurrent.ListenableFuture<List<T>> |
sendSplitRequest(MultiRequest<T> multiRequest) |
connectionChanged, isConnected, numActiveConnections, numTotalConnections, shutdown, toStringnotifyConnectionChange, registerForConnectionChanges, unregisterForConnectionChangesprivate final Continuum continuum
public KetamaMemcacheClient(Collection<AddressAndClient> clients)
private static Collection<RawMemcacheClient> clientsOnly(Collection<AddressAndClient> addressAndClients)
private RawMemcacheClient getClient(byte[] key)
public <T> com.google.common.util.concurrent.ListenableFuture<T> send(Request<T> request)
private <T> com.google.common.util.concurrent.ListenableFuture<List<T>> sendSplitRequest(MultiRequest<T> multiRequest)
Copyright © 2015 Spotify AB. All Rights Reserved.