Close this store and release any resources.
Close this store and release any resources. It is undefined what happens on get/multiGet after close
get a single key from the store.
get a single key from the store. Prefer multiGet if you are getting more than one key at a time
the key should hold: Monoid.
the key should hold: Monoid.plus(get(kv._1).get, Some(kv._2)) after this.
The monoid equivalent to the merge operation of this store
The monoid equivalent to the merge operation of this store
Get a set of keys from the store.
Get a set of keys from the store. Important: all keys in the input set are in the resulting map. If the store fails to return a value for a given key, that should be represented by a Future.exception.
merge a set of keys.
merge a set of keys.
Replace a set of keys at one time
Replace a set of keys at one time
replace a value Delete is the same as put((k,None))
replace a value Delete is the same as put((k,None))
A Mergeable that sits on top of another mergeable and pre-aggregates before pushing into merge/multiMerge This is very useful for cases where you have some keys that are very hot, or you have a remote store that you don't want to constantly hit. Note that calling a get/put forces a flush on this store. Also note that the Futures returned by merge are completed only when the underlying store is finally merged.