CMS 3D CMS Logo

ESSourceDataProxyNonConcurrentBase Class Reference

#include "FWCore/Framework/interface/ESSourceDataProxyNonConcurrentBase.h"

Detailed Description

Description: Base class for DataProxies for ESSources that require synchronization

Usage: The ESSourceDataProxyNonConcurrentBase uses a SerialTaskQueue to serialize all DataProxies for the ESSource and a std::mutex to protect from concurrent calls to a DataProxy and the ESSource itself. Such concurrent calls can happen if concurrent LuminosityBlocks are being used.

NOTE: if inheriting classes override void invalidateCache() they must be sure to call this classes implementation as part of the call.