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 void |
put(K key,
V value) |
void |
putAll(Map<K,V> values) |
default void |
remove(K key)
Remove the key value pair from the store.
|
void |
removeAll(Collection<K> keys)
Remove the values for the given keys.
|
containsKey, get, getAll, keys, sizevoid putAll(@Nonnull Map<K,V> values)
values - Put all key value pairs form this map into the storage.void removeAll(Collection<K> keys)
keys - Map of removed key value pairs.default void put(@Nonnull K key, @Nonnull V value)
key - The key to put message at.value - The value to put.Copyright © 2015–2020 morimekta.net. All rights reserved.