| Package | Description |
|---|---|
| com.spotify.folsom | |
| com.spotify.folsom.client | |
| com.spotify.folsom.client.ascii | |
| com.spotify.folsom.client.binary |
| Modifier and Type | Method and Description |
|---|---|
static <V> GetResult<V> |
GetResult.success(V value,
long cas) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<List<GetResult<V>>> |
MemcacheClient.casGet(List<String> keys)
Get the value for the provided keys
|
com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
MemcacheClient.casGet(String key)
Get the value for the provided key, including the CAS value
|
com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
BinaryMemcacheClient.casGetAndTouch(String key,
int ttl)
Get the value for the provided key, including the CAS value, and sets the expiration
|
| Modifier and Type | Method and Description |
|---|---|
void |
Metrics.measureGetFuture(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
void |
Metrics.measureMultigetFuture(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<GetResult<T>,T> |
TransformerUtil.getResultToValue |
private com.google.common.base.Function<GetResult<T>,T> |
TransformerUtil.ListResultUnwrapper.resultUnwrapper |
| Modifier and Type | Method and Description |
|---|---|
GetResult<T> |
TransformerUtil.ResultDecoder.apply(GetResult<byte[]> input) |
| Modifier and Type | Method and Description |
|---|---|
List<GetResult<T>> |
TransformerUtil.ListResultDecoder.apply(List<GetResult<byte[]>> input) |
com.google.common.util.concurrent.ListenableFuture<GetResult<T>> |
TransformerUtil.decode(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
com.google.common.util.concurrent.ListenableFuture<List<GetResult<T>>> |
TransformerUtil.decodeList(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
| Modifier and Type | Method and Description |
|---|---|
GetResult<T> |
TransformerUtil.ResultDecoder.apply(GetResult<byte[]> input) |
T |
TransformerUtil.ResultUnwrapper.apply(GetResult<T> input) |
| Modifier and Type | Method and Description |
|---|---|
List<GetResult<T>> |
TransformerUtil.ListResultDecoder.apply(List<GetResult<byte[]>> input) |
List<T> |
TransformerUtil.ListResultUnwrapper.apply(List<GetResult<T>> input) |
com.google.common.util.concurrent.ListenableFuture<GetResult<T>> |
TransformerUtil.decode(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
com.google.common.util.concurrent.ListenableFuture<List<GetResult<T>>> |
TransformerUtil.decodeList(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
void |
NoopMetrics.measureGetFuture(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
void |
YammerMetrics.measureGetFuture(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
void |
NoopMetrics.measureMultigetFuture(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
void |
YammerMetrics.measureMultigetFuture(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
com.google.common.util.concurrent.ListenableFuture<T> |
TransformerUtil.unwrap(com.google.common.util.concurrent.ListenableFuture<GetResult<T>> future) |
com.google.common.util.concurrent.ListenableFuture<List<T>> |
TransformerUtil.unwrapList(com.google.common.util.concurrent.ListenableFuture<List<GetResult<T>>> future) |
| Constructor and Description |
|---|
ListResultUnwrapper(com.google.common.base.Function<GetResult<T>,T> resultUnwrapper) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<List<GetResult<V>>> |
DefaultAsciiMemcacheClient.casGet(List<String> keys) |
com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
DefaultAsciiMemcacheClient.casGet(String key) |
Request<List<GetResult<byte[]>>> |
MultigetRequest.create(List<byte[]> keys) |
private com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
DefaultAsciiMemcacheClient.get(String key,
boolean withCas) |
private com.google.common.util.concurrent.ListenableFuture<List<GetResult<V>>> |
DefaultAsciiMemcacheClient.multiget(List<String> keys,
boolean withCas) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<List<GetResult<V>>> |
DefaultBinaryMemcacheClient.casGet(List<String> keys) |
com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
DefaultBinaryMemcacheClient.casGet(String key) |
com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
DefaultBinaryMemcacheClient.casGetAndTouch(String key,
int ttl) |
Request<List<GetResult<byte[]>>> |
MultigetRequest.create(List<byte[]> keys) |
private com.google.common.util.concurrent.ListenableFuture<GetResult<V>> |
DefaultBinaryMemcacheClient.getInternal(String key,
int ttl) |
private com.google.common.util.concurrent.ListenableFuture<List<GetResult<V>>> |
DefaultBinaryMemcacheClient.multiget(List<String> keys,
int ttl) |
Copyright © 2015 Spotify AB. All Rights Reserved.