K - Key to use for gathering information.V - Value to fetch, that is a generic method.public interface ReadWriteStore<K,V> extends ReadOnlyStore<K,V>
| Modifier and Type | Method and Description |
|---|---|
default V |
put(K key,
V value) |
Map<K,V> |
putAll(Map<K,V> values) |
default V |
remove(K key)
Remove the key value pair from the store.
|
Map<K,V> |
removeAll(Collection<K> keys)
Remove the values for the given keys.
|
containsKey, get, getAll, keys@Nonnull Map<K,V> putAll(@Nonnull Map<K,V> values)
values - Put all key value pairs form this map into the storage.@Nonnull Map<K,V> removeAll(Collection<K> keys)
keys - Map of removed key value pairs.@Nullable default V put(@Nonnull K key, @Nonnull V value)
key - The key to put message at.value - The value to put.Copyright © 2015–2018 morimekta.net. All rights reserved.