Import Store.
Import Store.enrich to get access to additional methods/combinators on your stores see EnrichedStore
Returns a new Store[K, V] that queries all of the stores on read and returns the first values that are not exceptions.
Returns a new Store[K, V] that queries all of the stores on read and returns the first values that are not exceptions. Writes are routed to every store in the supplied sequence.
Returns a new ReadableStore[K, V] that queries all of the stores and returns the first values that are not exceptions and that are present (ie, not equivalent to Future.
Returns a new ReadableStore[K, V] that queries all of the stores and returns the first values that are not exceptions and that are present (ie, not equivalent to Future.None). Writes are routed to every store in the supplied sequence.
Generates a store from the supplied MutableCache
Given a java Map with Option[V] for the values, make a store
Returns a new Store[K, V] that queries all of the stores and returns the first values that are not exceptions and that pass the supplied predicate.
Returns a new Store[K, V] that queries all of the stores and returns the first values that are not exceptions and that pass the supplied predicate. Writes are routed to every store in the supplied sequence.
Given a Store with values which are themselves Maps, unpivot/uncurry.
Given a Store with values which are themselves Maps, unpivot/uncurry. The values of the new store are the inner values of the original store. multiGet/multiPut on this store will do the smart thing and pack into a minimum number of multiGets/multiPuts on the underlying store
Returns a Store[K, V] that attempts reads from a store multiple times until a predicate is met.
Returns a Store[K, V] that attempts reads from a store multiple times until a predicate is met. The iterable of backoffs defines the time interval between two read attempts. If there is not read result satisfying the given predicate after all read attempts, a NotFoundException will be thrown.
Factory methods and some combinators on Stores