Project
Loading...
Searching...
No Matches
o2::framework::ObjectCache Struct Reference

#include <ObjectCache.h>

Classes

struct  Entry
 Per-path cache entry for a deserialised CCDB object. More...
 
struct  Id
 
struct  MetadataEntry
 Per-path cache entry for the CCDB metadata map. More...
 

Public Attributes

std::unordered_map< std::string, EntrymatcherToEntry
 
std::unordered_map< std::string, MetadataEntrymatcherToMetadata
 

Detailed Description

A cache for CCDB objects or objects in general which have more than one timeframe of lifetime. The cache is keyed per path rather than by a global id-derived hash.

Definition at line 25 of file ObjectCache.h.

Member Data Documentation

◆ matcherToEntry

std::unordered_map<std::string, Entry> o2::framework::ObjectCache::matcherToEntry

A per-path 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.obj

Definition at line 60 of file ObjectCache.h.

◆ matcherToMetadata

std::unordered_map<std::string, MetadataEntry> o2::framework::ObjectCache::matcherToMetadata

A per-path 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 65 of file ObjectCache.h.


The documentation for this struct was generated from the following file: