V - The value type for all operationspublic interface AsciiMemcacheClient<V> extends MemcacheClient<V>
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<java.lang.Long> |
decr(java.lang.String key,
long by)
Decrement a counter for the provided key
|
java.util.concurrent.CompletionStage<java.lang.Long> |
incr(java.lang.String key,
long by)
Increment a counter for the provided key
|
add, append, casGet, casGet, delete, delete, deleteAll, flushAll, get, get, getRawMemcacheClient, getStats, prepend, replace, set, set, shutdown, touchawaitConnected, awaitDisconnected, awaitFullyConnected, awaitFullyDisconnected, awaitFuture, connectFuture, disconnectFuture, fullyConnectedFuture, fullyDisconnectFuture, getConnectionFailure, isConnected, numActiveConnections, numTotalConnections, registerForConnectionChanges, unregisterForConnectionChangesjava.util.concurrent.CompletionStage<java.lang.Long> incr(java.lang.String key,
long by)
key - The key, must not be nullby - The value to increment the counter byjava.util.concurrent.CompletionStage<java.lang.Long> decr(java.lang.String key,
long by)
key - The key, must not be nullby - The value to decrement the counter byCopyright © 2020 Spotify AB. All Rights Reserved.