![]() |
Project
|
#include <ObjectCache.h>
Classes | |
struct | Id |
Public Attributes | |
std::unordered_map< std::string, Id > | matcherToId |
std::unordered_map< Id, void *, Id::hash_fn > | idToObject |
std::unordered_map< std::string, Id > | matcherToMetadataId |
std::unordered_map< Id, std::map< std::string, std::string >, Id::hash_fn > | idToMetadata |
A cache for CCDB objects or objects in general which have more than one timeframe of lifetime.
Definition at line 23 of file ObjectCache.h.
std::unordered_map<Id, std::map<std::string, std::string>, Id::hash_fn> o2::framework::ObjectCache::idToMetadata |
Definition at line 55 of file ObjectCache.h.
std::unordered_map<Id, void*, Id::hash_fn> o2::framework::ObjectCache::idToObject |
A map from a CacheId (which is the void* ptr of the previous map). to an actual (type erased) pointer to the deserialised object.
Definition at line 49 of file ObjectCache.h.
std::unordered_map<std::string, Id> o2::framework::ObjectCache::matcherToId |
A cache for deserialised objects. This keeps a mapping so that we can tell if a given path was already received and it's blob stored in .second.
Definition at line 46 of file ObjectCache.h.
std::unordered_map<std::string, Id> o2::framework::ObjectCache::matcherToMetadataId |
A cache to the deserialised metadata We keep it separate because we want to avoid that looking up the metadata also pollutes the object cache.
Definition at line 54 of file ObjectCache.h.