C D F G I K M N P R S T 
All Classes All Packages

C

close() - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
close() - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
close() - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
containsKey(K) - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
containsKey(K) - Method in interface net.morimekta.providence.storage.ReadOnlyStore
 

D

DefaultFileManager<K> - Class in net.morimekta.providence.storage.dir
File manager for the DirectoryMessageStore and DirectoryMessageListStore store classes that keeps all files in a plain directory tree, and keeps a .tmp directory for temporary files.
DefaultFileManager(Path, Function<K, Path>, Function<Path, K>) - Constructor for class net.morimekta.providence.storage.dir.DefaultFileManager
 
DirectoryMessageListStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple file-based storage of lists of providence messages that keeps an in-memory key index, a message cache, and stores message lists to individual files in a single directly.
DirectoryMessageListStore(FileManager<K>, PMessageDescriptor<M>, Serializer) - Constructor for class net.morimekta.providence.storage.DirectoryMessageListStore
 
DirectoryMessageSetStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple file-based set storage of providence messages that keeps an in-memory key index, a message cache, and stores messages to individual files in a single directly.
DirectoryMessageSetStore(FileManager<K>, Function<M, K>, PMessageDescriptor<M>, Serializer) - Constructor for class net.morimekta.providence.storage.DirectoryMessageSetStore
 
DirectoryMessageStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple file-based storage of providence messages that keeps an in-memory key index, a message cache, and stores messages to individual files in a single directly.
DirectoryMessageStore(FileManager<K>, PMessageDescriptor<M>, Serializer) - Constructor for class net.morimekta.providence.storage.DirectoryMessageStore
 

F

FileManager<K> - Interface in net.morimekta.providence.storage.dir
 

G

get(K) - Method in interface net.morimekta.providence.storage.ReadOnlyStore
Get a single value from the storage.
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
getAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
getAll(Collection<K>) - Method in interface net.morimekta.providence.storage.ReadOnlyStore
Look up a set of keys from the storage.
getAllBuilders(Collection<K>) - Method in interface net.morimekta.providence.storage.MessageListReadOnlyStore
Get map of lists of builders for all the messages for the requested keys.
getAllBuilders(Collection<K>) - Method in interface net.morimekta.providence.storage.MessageReadOnlyStore
Get builders for all keys requested.
getBuilder(K) - Method in interface net.morimekta.providence.storage.MessageReadOnlyStore
Get the builder representing the message on the given key.
getBuilders(K) - Method in interface net.morimekta.providence.storage.MessageListReadOnlyStore
Get a list of builders for the entry stored.
getFileFor(String) - Method in class net.morimekta.providence.storage.dir.StringKeyFileManager
 
getFileFor(K) - Method in class net.morimekta.providence.storage.dir.DefaultFileManager
 
getFileFor(K) - Method in interface net.morimekta.providence.storage.dir.FileManager
 

I

initialKeySet() - Method in class net.morimekta.providence.storage.dir.DefaultFileManager
 
initialKeySet() - Method in interface net.morimekta.providence.storage.dir.FileManager
 
initialKeySet() - Method in class net.morimekta.providence.storage.dir.StringKeyFileManager
 
InMemoryMessageListStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple in-memory storage of lists providence messages.
InMemoryMessageListStore() - Constructor for class net.morimekta.providence.storage.InMemoryMessageListStore
 
InMemoryMessageSetStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple in-memory set storage of providence messages.
InMemoryMessageSetStore(Function<M, K>) - Constructor for class net.morimekta.providence.storage.InMemoryMessageSetStore
 
InMemoryMessageStore<K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple in-memory storage of providence messages.
InMemoryMessageStore() - Constructor for class net.morimekta.providence.storage.InMemoryMessageStore
 

K

keys() - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
keys() - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
keys() - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
keys() - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
keys() - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
keys() - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
keys() - Method in interface net.morimekta.providence.storage.ReadOnlyStore
Get a collection of all the keys in the store.

M

MessageListReadOnlyStore<K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for storing messages of a single type.
MessageListStore<K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for storing messages of a single type.
MessageReadOnlyStore<K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for storing messages of a single type.
MessageSearcher<Q,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for searching a store for a specific search S.
MessageSetStore<K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for storing messages of a single type as if it's a set of distinct messages.
MessageStore<K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
Interface for storing messages of a single type.
MessageStoreUtils - Class in net.morimekta.providence.storage
Utilities for message store implementations and interfaces.
MessageStoreUtils() - Constructor for class net.morimekta.providence.storage.MessageStoreUtils
 

N

net.morimekta.providence.storage - package net.morimekta.providence.storage
 
net.morimekta.providence.storage.dir - package net.morimekta.providence.storage.dir
 

P

PredicateFilterMessageStoreSearcher<Q,​K,​M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.storage
Simple store searcher that finds all messages in a given store that matches a simple java predicate.
PredicateFilterMessageStoreSearcher(MessageReadOnlyStore<K, M>, BiPredicate<M, Q>) - Constructor for class net.morimekta.providence.storage.PredicateFilterMessageStoreSearcher
 
PredicateFilterMessageStoreSearcher(MessageReadOnlyStore<K, M>, PredicateFilterMessageStoreSearcher.PredicateFilter<Q, K, M>) - Constructor for class net.morimekta.providence.storage.PredicateFilterMessageStoreSearcher
 
PredicateFilterMessageStoreSearcher.PredicateFilter<Q,​K,​M extends net.morimekta.providence.PMessage<M>> - Interface in net.morimekta.providence.storage
 
put(K, V) - Method in interface net.morimekta.providence.storage.ReadWriteStore
 
put(V) - Method in interface net.morimekta.providence.storage.ReadWriteSetStore
 
putAll(Collection<M>) - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
putAll(Collection<M>) - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
putAll(Collection<V>) - Method in interface net.morimekta.providence.storage.ReadWriteSetStore
 
putAll(Map<K, List<M>>) - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
putAll(Map<K, List<M>>) - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
putAll(Map<K, M>) - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
putAll(Map<K, M>) - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
putAll(Map<K, V>) - Method in interface net.morimekta.providence.storage.ReadWriteStore
 
putAllBuilders(Collection<B>) - Method in interface net.morimekta.providence.storage.MessageSetStore
Put a collection of key and builder pairs onto the store.
putAllBuilders(Map<K, B>) - Method in interface net.morimekta.providence.storage.MessageStore
Put a collection of key and builder pairs onto the store.
putAllBuilders(Map<K, List<B>>) - Method in interface net.morimekta.providence.storage.MessageListStore
Put messages into the map represented by their builders.
putBuilder(B) - Method in interface net.morimekta.providence.storage.MessageSetStore
Put the message represented by the builder into the store on the given key.
putBuilder(K, B) - Method in interface net.morimekta.providence.storage.MessageStore
Put the message represented by the builder into the store on the given key.
putBuilders(K, List<B>) - Method in interface net.morimekta.providence.storage.MessageListStore
Put messages into the map represented by their builders.

R

ReadOnlyStore<K,​V> - Interface in net.morimekta.providence.storage
Interface to read a value or a range of values for a given key or keys.
ReadWriteSetStore<K,​V> - Interface in net.morimekta.providence.storage
Interface for a store that acts as a set of unique values with a natural key per item.
ReadWriteStore<K,​V> - Interface in net.morimekta.providence.storage
Interface to read and write a value or a range of values for a given key or keys.
remove(K) - Method in interface net.morimekta.providence.storage.ReadWriteSetStore
Remove the key value pair from the store.
remove(K) - Method in interface net.morimekta.providence.storage.ReadWriteStore
Remove the key value pair from the store.
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
removeAll(Collection<K>) - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
removeAll(Collection<K>) - Method in interface net.morimekta.providence.storage.ReadWriteSetStore
Remove the values for the given keys.
removeAll(Collection<K>) - Method in interface net.morimekta.providence.storage.ReadWriteStore
Remove the values for the given keys.

S

search(Q) - Method in class net.morimekta.providence.storage.PredicateFilterMessageStoreSearcher
 
search(Q) - Method in interface net.morimekta.providence.storage.Searcher
Run a query and return the resulting items.
searchBuilders(Q) - Method in interface net.morimekta.providence.storage.MessageSearcher
Get a list of builders for the query input.
Searcher<Q,​R> - Interface in net.morimekta.providence.storage
Interface for searching a store for a specific search S.
size() - Method in class net.morimekta.providence.storage.DirectoryMessageListStore
 
size() - Method in class net.morimekta.providence.storage.DirectoryMessageSetStore
 
size() - Method in class net.morimekta.providence.storage.DirectoryMessageStore
 
size() - Method in class net.morimekta.providence.storage.InMemoryMessageListStore
 
size() - Method in class net.morimekta.providence.storage.InMemoryMessageSetStore
 
size() - Method in class net.morimekta.providence.storage.InMemoryMessageStore
 
size() - Method in interface net.morimekta.providence.storage.ReadOnlyStore
 
stream(Q) - Method in class net.morimekta.providence.storage.PredicateFilterMessageStoreSearcher
 
stream(Q) - Method in interface net.morimekta.providence.storage.Searcher
Run a query and stream the resulting items.
StringKeyFileManager - Class in net.morimekta.providence.storage.dir
File manager for the DirectoryMessageStore and DirectoryMessageListStore store classes that keeps all files in a single directory, and keeps a .tmp directory for temporary files.
StringKeyFileManager(Path) - Constructor for class net.morimekta.providence.storage.dir.StringKeyFileManager
 

T

test(K, M, Q) - Method in interface net.morimekta.providence.storage.PredicateFilterMessageStoreSearcher.PredicateFilter
 
tmpFileFor(String) - Method in class net.morimekta.providence.storage.dir.StringKeyFileManager
 
tmpFileFor(K) - Method in class net.morimekta.providence.storage.dir.DefaultFileManager
 
tmpFileFor(K) - Method in interface net.morimekta.providence.storage.dir.FileManager
 
toBuilderAll(Collection<V>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Mutate all items of the collection containing messages.
toBuilderIfNonNull(PMessageOrBuilder<M>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Mutate the message if it is not null.
toBuilderValues(Map<K, V>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Mutate all items of the collection containing messages.
toMessageAll(Collection<V>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Build all items of the collection containing builders.
toMessageIfNotNull(PMessageOrBuilder<M>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Build the message from builder if it is not null.
toMessageValues(Map<K, V>) - Static method in class net.morimekta.providence.storage.MessageStoreUtils
Mutate all items of the collection containing messages.
C D F G I K M N P R S T 
All Classes All Packages