Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::RNTupleReader::RActiveEntriesControlBlock Struct Reference

Shared data structure between the reader and all the issued active entry tokens.

Definition at line 70 of file RNTupleReader.hxx.

Public Member Functions

 RActiveEntriesControlBlock (Internal::RPageSource *pageSource)

Public Attributes

std::unordered_map< ROOT::DescriptorId_t, std::uint64_t > fActiveClusters
 Reference counter of clusters pinned in the page source due to entries being marked as active.
std::mutex fLock
Internal::RPageSourcefPageSource = nullptr
 Points to the page source backing the associated RNTupleReader.

Constructor & Destructor Documentation

◆ RActiveEntriesControlBlock()

ROOT::RNTupleReader::RActiveEntriesControlBlock::RActiveEntriesControlBlock ( Internal::RPageSource * pageSource)
inlineexplicit

Definition at line 78 of file RNTupleReader.hxx.

Member Data Documentation

◆ fActiveClusters

std::unordered_map<ROOT::DescriptorId_t, std::uint64_t> ROOT::RNTupleReader::RActiveEntriesControlBlock::fActiveClusters

Reference counter of clusters pinned in the page source due to entries being marked as active.

Definition at line 75 of file RNTupleReader.hxx.

◆ fLock

std::mutex ROOT::RNTupleReader::RActiveEntriesControlBlock::fLock

Definition at line 76 of file RNTupleReader.hxx.

◆ fPageSource

Internal::RPageSource* ROOT::RNTupleReader::RActiveEntriesControlBlock::fPageSource = nullptr

Points to the page source backing the associated RNTupleReader.

When the reader is destructed, the page source is reset to nullptr. At that point, operations on remaining active entry tokens become noops.

Definition at line 73 of file RNTupleReader.hxx.


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