Load an entity from storage.
If there is no data for the entity in storage this will leave the entity un-modified.
If there is data in storage, it will be loaded and merged into this entity.
The entity to load data into.
Returns true
if the entity was found in storage and false
if it was not.
Construct a new StorageManager
for the given StorageInterface
.
Storage interface for saving and loading
Entity
s from aStorageInterface
.The storage manager keeps track of the latest snapshots that have been loaded from storage so that it can delete old snapshots and update storage even in the presence of multiple concurrent readers / writers to the same data store.