The StorageInterface is the base class, which all external storage handlers extend from.
This function handles the creating a new entry in the storage backend and on success returns the generated key.
The key of the created entity.
The data to be stored.
This function handles the deletion of an existing stored entity in the storage backend, specified by a key.
The key to use to delete the data.
This method is used to generate a unique key specific to the storage engine.
A unique key
This function gets the name of the storage backend.
The name of the storage backend
This method is used to get the prefix for the current sotrage engine.
The prefix string
Returns true / false if value is valid storage key
string value for testing
This method is used to verify that the key provided matches what the storage engine is expecting.
This function handles the retrival of an existing entity from the storage backend, specified by a key.
The entity data held in external storage
The key to use to store the data.
Generated using TypeDoc
The StorageInterface is the base class, which all external storage handlers extend from.