| 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 MemcacheStatus |
MemcacheStatus.fromInt(int status) |
static MemcacheStatus |
MemcacheStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheStatus[] |
MemcacheStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.add(String key,
V value,
int ttl)
Add a key in memcache with the provided value, with the specified TTL.
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
BinaryMemcacheClient.add(String key,
V value,
int ttl,
long cas)
Add a key in memcache with the provided value, with the specified TTL.
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.append(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
BinaryMemcacheClient.append(String key,
V value,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.delete(String key)
Delete the provided key
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.prepend(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
BinaryMemcacheClient.prepend(String key,
V value,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.replace(String key,
V value,
int ttl)
Replace a key in memcache with the provided value, with the specified TTL.
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
BinaryMemcacheClient.replace(String key,
V value,
int ttl,
long cas)
Replace a key in memcache with the provided value, with the specified TTL.
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.set(String key,
V value,
int ttl)
Set a key in memcache to the provided value, with the specified TTL
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.set(String key,
V value,
int ttl,
long cas)
Compare and set a key in memcache to the provided value, with the specified TTL
|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
MemcacheClient.touch(String key,
int ttl)
Sets the expiration for the provided key
|
| Modifier and Type | Method and Description |
|---|---|
void |
Metrics.measureDeleteFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
Metrics.measureSetFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
Metrics.measureTouchFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoopMetrics.measureDeleteFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
YammerMetrics.measureDeleteFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
NoopMetrics.measureSetFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
YammerMetrics.measureSetFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
NoopMetrics.measureTouchFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
YammerMetrics.measureTouchFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.add(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.append(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.delete(String key) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.prepend(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.replace(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.set(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.set(String key,
V value,
int ttl,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultAsciiMemcacheClient.touch(String key,
int ttl) |
| Modifier and Type | Field and Description |
|---|---|
MemcacheStatus |
ResponsePacket.status |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.add(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.add(String key,
V value,
int ttl,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.append(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.append(String key,
V value,
long cas) |
private com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.casSetInternal(byte opcode,
String key,
V value,
int ttl,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.delete(String key) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.prepend(String key,
V value) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.prepend(String key,
V value,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.replace(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.replace(String key,
V value,
int ttl,
long cas) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.set(String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.set(String key,
V value,
int ttl,
long cas) |
private com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.setInternal(byte opcode,
String key,
V value,
int ttl) |
com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> |
DefaultBinaryMemcacheClient.touch(String key,
int ttl) |
| Constructor and Description |
|---|
ResponsePacket(byte opcode,
MemcacheStatus status,
int opaque,
long cas,
byte[] value) |
Copyright © 2015 Spotify AB. All Rights Reserved.