public interface RedisMap<K,V> extends RedisStore, ConcurrentMap<K,V>
| Modifier and Type | Method and Description |
|---|---|
Double |
increment(K key,
double delta)
Increment
value of the hash key by the given delta. |
Long |
increment(K key,
long delta)
Increment
value of the hash key by the given delta. |
Map.Entry<K,V> |
randomEntry()
Get a random entry from the hash.
|
K |
randomKey()
Get a random key from the hash.
|
Iterator<Map.Entry<K,V>> |
scan() |
getOperationsexpire, expire, expireAt, expireAt, getExpire, getKey, getType, persist, renamecompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllLong increment(K key, long delta)
value of the hash key by the given delta.key - must not be null.delta - Double increment(K key, double delta)
value of the hash key by the given delta.key - must not be null.delta - K randomKey()
@Nullable Map.Entry<K,V> randomEntry()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.