CMS 3D CMS Logo

ESSourceDataProxyBase Class Reference

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

Detailed Description

Description: Base class for DataProxies for ESSources that require synchronization

Usage: The ESSourceDataProxyBase 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.