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 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.
ConvertedStore allows a Store to be wrapped via a pair of conversion functions changing the type of the stored values.