9#include <framework/datastore/RelationIndexManager.h>
21 for (
auto& e : relations) {
22 if (e.second) e.second->clear();
EDurability
Durability types.
Manager to keep a cache of existing RelationIndexContainers.
RelationCache m_cache
Cache for all Containers.
static RelationIndexManager & Instance()
Returns the singleton instance.
std::map< std::string, std::shared_ptr< RelationIndexBase > > RelationMap
Maptype to keep track of all Containers of one durability.
void clear(DataStore::EDurability durability=DataStore::c_Event)
Clear the cache of RelationIndexContainers with the given durability.
Abstract base class for different kinds of events.