| 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(java.lang.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 |
|---|---|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.add(java.lang.String key,
V value,
int ttl)
Add a key in memcache with the provided value, with the specified TTL.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
BinaryMemcacheClient.add(java.lang.String key,
V value,
int ttl,
long cas)
Add a key in memcache with the provided value, with the specified TTL.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.append(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
BinaryMemcacheClient.append(java.lang.String key,
V value,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.delete(java.lang.String key)
Delete the provided key
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.delete(java.lang.String key,
long cas)
Deletes a key with CAS check.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.deleteAll(java.lang.String key)
Delete the provided key on all memcached instances.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.flushAll(int delay)
Flushes all entries in the storage
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.prepend(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
BinaryMemcacheClient.prepend(java.lang.String key,
V value,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.replace(java.lang.String key,
V value,
int ttl)
Replace a key in memcache with the provided value, with the specified TTL.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
BinaryMemcacheClient.replace(java.lang.String key,
V value,
int ttl,
long cas)
Replace a key in memcache with the provided value, with the specified TTL.
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.set(java.lang.String key,
V value,
int ttl)
Set a key in memcache to the provided value, with the specified TTL
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.set(java.lang.String key,
V value,
int ttl,
long cas)
Compare and set a key in memcache to the provided value, with the specified TTL
|
java.util.concurrent.CompletionStage<MemcacheStatus> |
MemcacheClient.touch(java.lang.String key,
int ttl)
Sets the expiration for the provided key
|
| Modifier and Type | Method and Description |
|---|---|
void |
Metrics.measureDeleteFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
void |
Metrics.measureSetFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
void |
Metrics.measureTouchFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
| Modifier and Type | Method and Description |
|---|---|
static MemcacheStatus |
AllRequest.mergeMemcacheStatus(java.util.List<MemcacheStatus> results) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoopMetrics.measureDeleteFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
void |
NoopMetrics.measureSetFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
void |
NoopMetrics.measureTouchFuture(java.util.concurrent.CompletionStage<MemcacheStatus> future) |
static MemcacheStatus |
AllRequest.mergeMemcacheStatus(java.util.List<MemcacheStatus> results) |
| Modifier and Type | Method and Description |
|---|---|
MemcacheStatus |
FlushRequest.merge(java.util.List<MemcacheStatus> results) |
MemcacheStatus |
DeleteAllRequest.merge(java.util.List<MemcacheStatus> results) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.add(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.append(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.delete(java.lang.String key) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.delete(java.lang.String key,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.deleteAll(java.lang.String key) |
Request<MemcacheStatus> |
FlushRequest.duplicate() |
Request<MemcacheStatus> |
DeleteAllRequest.duplicate() |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.flushAll(int delay) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.prepend(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.replace(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.set(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.set(java.lang.String key,
V value,
int ttl,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultAsciiMemcacheClient.touch(java.lang.String key,
int ttl) |
| Modifier and Type | Method and Description |
|---|---|
MemcacheStatus |
FlushRequest.merge(java.util.List<MemcacheStatus> results) |
MemcacheStatus |
DeleteAllRequest.merge(java.util.List<MemcacheStatus> results) |
| Modifier and Type | Field and Description |
|---|---|
MemcacheStatus |
ResponsePacket.status |
| Modifier and Type | Method and Description |
|---|---|
MemcacheStatus |
FlushRequest.merge(java.util.List<MemcacheStatus> results) |
MemcacheStatus |
DeleteAllRequest.merge(java.util.List<MemcacheStatus> results) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.add(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.add(java.lang.String key,
V value,
int ttl,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.append(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.append(java.lang.String key,
V value,
long cas) |
private java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.casSetInternal(OpCode opcode,
java.lang.String key,
V value,
int ttl,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.delete(java.lang.String key) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.delete(java.lang.String key,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.deleteAll(java.lang.String key) |
Request<MemcacheStatus> |
FlushRequest.duplicate() |
Request<MemcacheStatus> |
DeleteAllRequest.duplicate() |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.flushAll(int delay) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.prepend(java.lang.String key,
V value) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.prepend(java.lang.String key,
V value,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.replace(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.replace(java.lang.String key,
V value,
int ttl,
long cas) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.set(java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.set(java.lang.String key,
V value,
int ttl,
long cas) |
private java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.setInternal(OpCode opcode,
java.lang.String key,
V value,
int ttl) |
java.util.concurrent.CompletionStage<MemcacheStatus> |
DefaultBinaryMemcacheClient.touch(java.lang.String key,
int ttl) |
| Modifier and Type | Method and Description |
|---|---|
MemcacheStatus |
FlushRequest.merge(java.util.List<MemcacheStatus> results) |
MemcacheStatus |
DeleteAllRequest.merge(java.util.List<MemcacheStatus> results) |
| Constructor and Description |
|---|
ResponsePacket(OpCode opcode,
MemcacheStatus status,
int opaque,
long cas,
byte[] key,
byte[] value) |
Copyright © 2020 Spotify AB. All Rights Reserved.