K
- keyV
- valuepublic interface RMapAsync<K,V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<V> |
addAndGetAsync(K key,
Number value) |
io.netty.util.concurrent.Future<Boolean> |
containsKeyAsync(Object key) |
io.netty.util.concurrent.Future<Boolean> |
containsValueAsync(Object value) |
io.netty.util.concurrent.Future<Boolean> |
fastPutAsync(K key,
V value)
Associates the specified
value with the specified key
in async manner. |
io.netty.util.concurrent.Future<Boolean> |
fastPutIfAbsentAsync(K key,
V value) |
io.netty.util.concurrent.Future<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 |
io.netty.util.concurrent.Future<Map<K,V>> |
getAllAsync(Set<K> keys) |
io.netty.util.concurrent.Future<V> |
getAsync(K key) |
io.netty.util.concurrent.Future<Void> |
putAllAsync(Map<? extends K,? extends V> map) |
io.netty.util.concurrent.Future<V> |
putAsync(K key,
V value) |
io.netty.util.concurrent.Future<V> |
putIfAbsentAsync(K key,
V value) |
io.netty.util.concurrent.Future<Set<Map.Entry<K,V>>> |
readAllEntrySetAsync()
Read all map entries at once
|
io.netty.util.concurrent.Future<Set<K>> |
readAllKeySetAsync()
Read all keys at once
|
io.netty.util.concurrent.Future<Collection<V>> |
readAllValuesAsync()
Read all values at once
|
io.netty.util.concurrent.Future<V> |
removeAsync(K key) |
io.netty.util.concurrent.Future<Long> |
removeAsync(Object key,
Object value) |
io.netty.util.concurrent.Future<V> |
replaceAsync(K key,
V value) |
io.netty.util.concurrent.Future<Boolean> |
replaceAsync(K key,
V oldValue,
V newValue) |
io.netty.util.concurrent.Future<Integer> |
sizeAsync() |
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
io.netty.util.concurrent.Future<Integer> sizeAsync()
io.netty.util.concurrent.Future<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
- io.netty.util.concurrent.Future<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
- value
- true
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.io.netty.util.concurrent.Future<Set<K>> readAllKeySetAsync()
io.netty.util.concurrent.Future<Collection<V>> readAllValuesAsync()
io.netty.util.concurrent.Future<Set<Map.Entry<K,V>>> readAllEntrySetAsync()
Copyright © 2014–2016. All rights reserved.