| 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 |
|---|---|
java.util.concurrent.CompletionStage<java.util.List<GetResult<V>>> |
MemcacheClient.casGet(java.util.List<java.lang.String> keys)
Get the value for the provided keys
|
java.util.concurrent.CompletionStage<GetResult<V>> |
MemcacheClient.casGet(java.lang.String key)
Get the value for the provided key, including the CAS value
|
java.util.concurrent.CompletionStage<GetResult<V>> |
BinaryMemcacheClient.casGetAndTouch(java.lang.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(java.util.concurrent.CompletionStage<GetResult<byte[]>> future) |
void |
Metrics.measureMultigetFuture(java.util.concurrent.CompletionStage<java.util.List<GetResult<byte[]>>> future) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<GetResult<T>,T> |
TransformerUtil.getResultToValue |
private java.util.function.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 |
|---|---|
java.util.List<GetResult<T>> |
TransformerUtil.ListResultDecoder.apply(java.util.List<GetResult<byte[]>> input) |
java.util.concurrent.CompletionStage<GetResult<T>> |
TransformerUtil.decode(java.util.concurrent.CompletionStage<GetResult<byte[]>> future) |
java.util.concurrent.CompletionStage<java.util.List<GetResult<T>>> |
TransformerUtil.decodeList(java.util.concurrent.CompletionStage<java.util.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 |
|---|---|
java.util.List<GetResult<T>> |
TransformerUtil.ListResultDecoder.apply(java.util.List<GetResult<byte[]>> input) |
java.util.List<T> |
TransformerUtil.ListResultUnwrapper.apply(java.util.List<GetResult<T>> input) |
java.util.concurrent.CompletionStage<GetResult<T>> |
TransformerUtil.decode(java.util.concurrent.CompletionStage<GetResult<byte[]>> future) |
java.util.concurrent.CompletionStage<java.util.List<GetResult<T>>> |
TransformerUtil.decodeList(java.util.concurrent.CompletionStage<java.util.List<GetResult<byte[]>>> future) |
void |
NoopMetrics.measureGetFuture(java.util.concurrent.CompletionStage<GetResult<byte[]>> future) |
void |
NoopMetrics.measureMultigetFuture(java.util.concurrent.CompletionStage<java.util.List<GetResult<byte[]>>> future) |
java.util.concurrent.CompletionStage<T> |
TransformerUtil.unwrap(java.util.concurrent.CompletionStage<GetResult<T>> future) |
java.util.concurrent.CompletionStage<java.util.List<T>> |
TransformerUtil.unwrapList(java.util.concurrent.CompletionStage<java.util.List<GetResult<T>>> future) |
| Constructor and Description |
|---|
ListResultUnwrapper(java.util.function.Function<GetResult<T>,T> resultUnwrapper) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<java.util.List<GetResult<V>>> |
DefaultAsciiMemcacheClient.casGet(java.util.List<java.lang.String> keys) |
java.util.concurrent.CompletionStage<GetResult<V>> |
DefaultAsciiMemcacheClient.casGet(java.lang.String key) |
Request<java.util.List<GetResult<byte[]>>> |
MultigetRequest.create(java.util.List<byte[]> keys) |
private java.util.concurrent.CompletionStage<GetResult<V>> |
DefaultAsciiMemcacheClient.get(java.lang.String key,
boolean withCas) |
private java.util.concurrent.CompletionStage<java.util.List<GetResult<V>>> |
DefaultAsciiMemcacheClient.multiget(java.util.List<byte[]> keys,
boolean withCas) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<java.util.List<GetResult<V>>> |
DefaultBinaryMemcacheClient.casGet(java.util.List<java.lang.String> keys) |
java.util.concurrent.CompletionStage<GetResult<V>> |
DefaultBinaryMemcacheClient.casGet(java.lang.String key) |
java.util.concurrent.CompletionStage<GetResult<V>> |
DefaultBinaryMemcacheClient.casGetAndTouch(java.lang.String key,
int ttl) |
Request<java.util.List<GetResult<byte[]>>> |
MultigetRequest.create(java.util.List<byte[]> keys) |
private java.util.concurrent.CompletionStage<GetResult<V>> |
DefaultBinaryMemcacheClient.getInternal(java.lang.String key,
int ttl) |
private java.util.concurrent.CompletionStage<java.util.List<GetResult<V>>> |
DefaultBinaryMemcacheClient.multiget(java.util.List<byte[]> keys,
int ttl) |
Copyright © 2020 Spotify AB. All Rights Reserved.