public class InMemoryMessageStore<K,M extends PMessage<M,F>,F extends PField> extends Object implements MessageStore<K,M,F>
| Constructor and Description |
|---|
InMemoryMessageStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K key) |
Map<K,M> |
getAll(Collection<K> keys)
Look up a set of keys from the storage.
|
Collection<K> |
keys()
Get a collection of all the keys in the store.
|
Map<K,M> |
putAll(Map<K,M> values) |
Map<K,M> |
removeAll(Collection<K> keys)
Remove the values for the given keys;
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAllBuilders, getBuilder, put, putAllBuilders, putBuilder, remove@Nonnull public Map<K,M> getAll(@Nonnull Collection<K> keys)
MessageStorepublic boolean containsKey(@Nonnull K key)
containsKey in interface MessageStore<K,M extends PMessage<M,F>,F extends PField>key - The key to look up.@Nonnull public Collection<K> keys()
MessageStore@Nonnull public Map<K,M> removeAll(Collection<K> keys)
MessageStoreCopyright © 2015–2017 morimekta.net. All rights reserved.