Call this method to close the Store when you are done using it.
Call this method to close the Store when you are done using it.
This method should be overridden by implementations if any actions need to be taken to close / disconnect from the store.
Get a single value from the store, or None if no entry exists for the key.
Get a single value from the store, or None if no entry exists for the key.
Get all of the mappings in the store.
Get all of the mappings in the store.
Optionally, limit and offset may be specified to page through the entries in the store.
Get mutiple values at once.
Get mutiple values at once.
A default implementation using get() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.
Add multiple values at once.
Add multiple values at once.
A default implementation using put() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.
Add a new key-value pair to the store, or replace an existing mapping.
Add a new key-value pair to the store, or replace an existing mapping.
An in-memory Store implementation. Generally this should only be used for testing or as a cache, since there is no persistence of data once the process terminates.