V - The value type for all operationspublic interface AsciiMemcacheClient<V> extends MemcacheClient<V>
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Long> |
decr(String key,
long by)
Decrement a counter for the provided key
|
com.google.common.util.concurrent.ListenableFuture<Long> |
incr(String key,
long by)
Increment a counter for the provided key
|
add, append, casGet, casGet, delete, get, get, numActiveConnections, numTotalConnections, prepend, replace, set, set, shutdown, touchisConnected, registerForConnectionChanges, unregisterForConnectionChangescom.google.common.util.concurrent.ListenableFuture<Long> incr(String key, long by)
key - The key, must not be nullby - The value to increment the counter bycom.google.common.util.concurrent.ListenableFuture<Long> decr(String key, long by)
key - The key, must not be nullby - The value to decrement the counter byCopyright © 2017 Spotify AB. All Rights Reserved.