Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RPageStorage::RTaskScheduler Class Referenceabstract

The interface of a task scheduler to schedule page (de)compression tasks.

Definition at line 78 of file RPageStorage.hxx.

Public Member Functions

virtual ~RTaskScheduler ()=default
 
virtual void AddTask (const std::function< void(void)> &taskFunc)=0
 Take a callable that represents a task.
 
virtual void Wait ()=0
 Blocks until all scheduled tasks finished.
 

#include <ROOT/RPageStorage.hxx>

Inheritance diagram for ROOT::Experimental::Internal::RPageStorage::RTaskScheduler:
[legend]

Constructor & Destructor Documentation

◆ ~RTaskScheduler()

virtual ROOT::Experimental::Internal::RPageStorage::RTaskScheduler::~RTaskScheduler ( )
virtualdefault

Member Function Documentation

◆ AddTask()

virtual void ROOT::Experimental::Internal::RPageStorage::RTaskScheduler::AddTask ( const std::function< void(void)> &  taskFunc)
pure virtual

Take a callable that represents a task.

Implemented in ROOT::Experimental::Internal::RNTupleImtTaskScheduler.

◆ Wait()

virtual void ROOT::Experimental::Internal::RPageStorage::RTaskScheduler::Wait ( )
pure virtual

Blocks until all scheduled tasks finished.

Implemented in ROOT::Experimental::Internal::RNTupleImtTaskScheduler.


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