K
- keyV
- valuepublic interface RMapAsync<K,V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
RFuture<V> |
addAndGetAsync(K key,
Number value) |
RFuture<Boolean> |
containsKeyAsync(Object key) |
RFuture<Boolean> |
containsValueAsync(Object value) |
RFuture<Boolean> |
fastPutAsync(K key,
V value)
Associates the specified
value with the specified key
in async manner. |
RFuture<Boolean> |
fastPutIfAbsentAsync(K key,
V value) |
RFuture<Long> |
fastRemoveAsync(K... keys)
Removes
keys from map by one operation in async manner
Works faster than RMap.removeAsync but doesn't return
the value associated with key |
RFuture<Map<K,V>> |
getAllAsync(Set<K> keys) |
RFuture<V> |
getAsync(K key) |
RFuture<Void> |
putAllAsync(Map<? extends K,? extends V> map) |
RFuture<V> |
putAsync(K key,
V value) |
RFuture<V> |
putIfAbsentAsync(K key,
V value) |
RFuture<Set<Map.Entry<K,V>>> |
readAllEntrySetAsync()
Read all map entries at once
|
RFuture<Set<K>> |
readAllKeySetAsync()
Read all keys at once
|
RFuture<Collection<V>> |
readAllValuesAsync()
Read all values at once
|
RFuture<V> |
removeAsync(K key) |
RFuture<Boolean> |
removeAsync(Object key,
Object value) |
RFuture<V> |
replaceAsync(K key,
V value) |
RFuture<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue) |
RFuture<Integer> |
sizeAsync() |
RFuture<Integer> |
valueSizeAsync(K key)
Returns size of value mapped by key in bytes
|
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync
RFuture<Integer> valueSizeAsync(K key)
key
- - map keyRFuture<Long> fastRemoveAsync(K... keys)
keys
from map by one operation in async manner
Works faster than RMap.removeAsync
but doesn't return
the value associated with key
keys
- - map keysRFuture<Boolean> fastPutAsync(K key, V value)
value
with the specified key
in async manner.
Works faster than RMap.putAsync
but not returning
the previous value associated with key
key
- - map keyvalue
- - map valuetrue
if key is a new key in the hash and value was set.
false
if key already exists in the hash and the value was updated.RFuture<Collection<V>> readAllValuesAsync()
RFuture<Set<Map.Entry<K,V>>> readAllEntrySetAsync()
Copyright © 2014–2017 The Redisson Project. All rights reserved.