CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
edm::NoProcessProductResolver Class Reference

#include <ProductResolvers.h>

Inheritance diagram for edm::NoProcessProductResolver:
edm::ProductResolverBase

Public Types

typedef ProducedProductResolver::ProductStatus ProductStatus
 

Public Member Functions

void connectTo (ProductResolverBase const &iOther, Principal const *) final
 
bool dataValidFromResolver (unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess) const
 
 NoProcessProductResolver (std::vector< ProductResolverIndex > const &matchingHolders, std::vector< bool > const &ambiguous, bool madeAtEnd)
 
void prefetchFailed (unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess, std::exception_ptr iExceptPtr) const
 
void tryPrefetchResolverAsync (unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token) const
 
- Public Member Functions inherited from edm::ProductResolverBase
BranchDescription const & branchDescription () const
 
std::string const & moduleLabel () const
 
ProductResolverBaseoperator= (ProductResolverBase const &)=delete
 
void prefetchAsync (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
std::string const & processName () const
 
ProductID const & productID () const
 
std::string const & productInstanceName () const
 
ProductProvenance const * productProvenancePtr () const
 
bool productResolved () const
 
 ProductResolverBase ()
 
 ProductResolverBase (ProductResolverBase const &)=delete
 
TypeID productType () const
 
bool productUnavailable () const
 
bool productWasDeleted () const
 
bool productWasFetchedAndIsValid (bool iSkipCurrentProcess) const
 
Provenance const * provenance () const
 
bool provenanceAvailable () const
 
void putOrMergeProduct (std::unique_ptr< WrapperBase > edp) const
 
void putProduct (std::unique_ptr< WrapperBase > edp) const
 
void resetBranchDescription (std::shared_ptr< BranchDescription const > bd)
 
void resetProductData ()
 
std::string const & resolvedModuleLabel () const
 
Resolution resolveProduct (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
void retrieveAndMerge (Principal const &principal) const
 
void setProcessHistory (ProcessHistory const &ph)
 
void setProvenance (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid)
 
virtual void setupUnscheduled (UnscheduledConfigurator const &)
 
bool singleProduct () const
 
StableProvenance const * stableProvenance () const
 
void unsafe_deleteProduct () const
 
bool unscheduledWasNotRun () const
 
void write (std::ostream &os) const
 
virtual ~ProductResolverBase ()
 

Private Member Functions

BranchDescription const & branchDescription_ () const override
 
void prefetchAsync_ (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
 
ProductProvenance const * productProvenancePtr_ () const override
 
bool productResolved_ () const final
 
bool productUnavailable_ () const override
 
bool productWasDeleted_ () const override
 
bool productWasFetchedAndIsValid_ (bool iSkipCurrentProcess) const override
 
Provenance const * provenance_ () const override
 
void putOrMergeProduct_ (std::unique_ptr< WrapperBase > prod) const final
 
void putProduct_ (std::unique_ptr< WrapperBase > edp) const override
 
void resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd) override
 
void resetProductData_ (bool deleteEarly) override
 
std::string const & resolvedModuleLabel_ () const override
 
Resolution resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
 
void setCache (bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
 
void setProcessHistory_ (ProcessHistory const &ph) override
 
void setProvenance_ (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) override
 
bool singleProduct_ () const override
 
Resolution tryResolver (unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
 
bool unscheduledWasNotRun_ () const override
 
unsigned int unsetIndexValue () const
 

Private Attributes

std::vector< bool > ambiguous_
 
std::atomic< unsigned int > lastCheckIndex_
 
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
 
const bool madeAtEnd_
 
std::vector< ProductResolverIndexmatchingHolders_
 
std::atomic< bool > prefetchRequested_
 
std::atomic< bool > skippingPrefetchRequested_
 
WaitingTaskList skippingWaitingTasks_
 
WaitingTaskList waitingTasks_
 

Detailed Description

Definition at line 312 of file ProductResolvers.h.

Member Typedef Documentation

Definition at line 314 of file ProductResolvers.h.

Constructor & Destructor Documentation

edm::NoProcessProductResolver::NoProcessProductResolver ( std::vector< ProductResolverIndex > const &  matchingHolders,
std::vector< bool > const &  ambiguous,
bool  madeAtEnd 
)

Definition at line 635 of file ProductResolvers.cc.

References ambiguous_, and matchingHolders_.

Referenced by edm::ParentProcessProductResolver::throwNullRealProduct().

637  :
638  matchingHolders_(matchingHolders),
639  ambiguous_(ambiguous),
642  prefetchRequested_(false),
644  madeAtEnd_{madeAtEnd}
645  {
646  assert(ambiguous_.size() == matchingHolders_.size());
647  }
static unsigned int kUnsetOffset
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
std::atomic< bool > skippingPrefetchRequested_
std::vector< bool > ambiguous_
std::vector< ProductResolverIndex > matchingHolders_

Member Function Documentation

BranchDescription const & edm::NoProcessProductResolver::branchDescription_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 951 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

951  {
953  << "NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n"
954  << "Contact a Framework developer\n";
955  }
void edm::NoProcessProductResolver::connectTo ( ProductResolverBase const &  iOther,
Principal const *   
)
finalvirtual

Implements edm::ProductResolverBase.

Definition at line 969 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

969  {
971  << "NoProcessProductResolver::connectTo() not implemented and should never be called.\n"
972  << "Contact a Framework developer\n";
973 
974  }
bool edm::NoProcessProductResolver::dataValidFromResolver ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess 
) const

Definition at line 811 of file ProductResolvers.cc.

References edm::Principal::getProductResolverByIndex(), gen::k, edm::Principal::lookupProcessOrder(), matchingHolders_, edm::ProductResolverBase::productWasFetchedAndIsValid(), and setCache().

813  {
814  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
815  auto k = lookupProcessOrder[iProcessingIndex];
816  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
817 
818  if(productResolver->productWasFetchedAndIsValid(iSkipCurrentProcess)) {
819 
820  setCache(iSkipCurrentProcess, k, nullptr);
821  return true;
822  }
823  return false;
824  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
def principal(options)
int k[5][pyjets_maxn]
std::vector< ProductResolverIndex > matchingHolders_
void edm::NoProcessProductResolver::prefetchAsync_ ( WaitingTask waitTask,
Principal const &  principal,
bool  skipCurrentProcess,
ServiceToken const &  token,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 709 of file ProductResolvers.cc.

References edm::WaitingTaskList::add(), madeAtEnd_, prefetchRequested_, skippingPrefetchRequested_, skippingWaitingTasks_, tryPrefetchResolverAsync(), and waitingTasks_.

714  {
715  bool timeToMakeAtEnd = true;
716  if(madeAtEnd_ and mcc) {
717  timeToMakeAtEnd = mcc->parent().isAtEndTransition();
718  }
719 
720  //If timeToMakeAtEnd is false, then it is equivalent to skipping the current process
721  if(not skipCurrentProcess and timeToMakeAtEnd) {
722  waitingTasks_.add(waitTask);
723 
724  bool expected = false;
725  if( prefetchRequested_.compare_exchange_strong(expected,true)) {
726  //we are the first thread to request
727  tryPrefetchResolverAsync(0, principal, false, sra, mcc, token);
728  }
729  } else {
730  skippingWaitingTasks_.add(waitTask);
731  bool expected = false;
732  if( skippingPrefetchRequested_.compare_exchange_strong(expected,true)) {
733  //we are the first thread to request
734  tryPrefetchResolverAsync(0, principal, true, sra, mcc, token);
735  }
736  }
737  }
void add(WaitingTask *)
Adds task to the waiting list.
def principal(options)
std::atomic< bool > prefetchRequested_
std::atomic< bool > skippingPrefetchRequested_
void tryPrefetchResolverAsync(unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token) const
void edm::NoProcessProductResolver::prefetchFailed ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  iSkipCurrentProcess,
std::exception_ptr  iExceptPtr 
) const

Definition at line 799 of file ProductResolvers.cc.

References gen::k, edm::Principal::lookupProcessOrder(), and setCache().

802  {
803  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
804  auto k = lookupProcessOrder[iProcessingIndex];
805 
806  setCache(iSkipCurrentProcess, k, iExceptPtr);
807  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
def principal(options)
int k[5][pyjets_maxn]
ProductProvenance const * edm::NoProcessProductResolver::productProvenancePtr_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 889 of file ProductResolvers.cc.

889  {
890  return nullptr;
891  }
bool edm::NoProcessProductResolver::productResolved_ ( ) const
finalprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 921 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

921  {
923  << "NoProcessProductResolver::productResolved_() not implemented and should never be called.\n"
924  << "Contact a Framework developer\n";
925  }
bool edm::NoProcessProductResolver::productUnavailable_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 915 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

915  {
917  << "NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n"
918  << "Contact a Framework developer\n";
919  }
bool edm::NoProcessProductResolver::productWasDeleted_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 927 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

927  {
929  << "NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n"
930  << "Contact a Framework developer\n";
931  }
bool edm::NoProcessProductResolver::productWasFetchedAndIsValid_ ( bool  iSkipCurrentProcess) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 933 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

933  {
935  << "NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n"
936  << "Contact a Framework developer\n";
937  }
Provenance const * edm::NoProcessProductResolver::provenance_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 963 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

963  {
965  << "NoProcessProductResolver::provenance_() not implemented and should never be called.\n"
966  << "Contact a Framework developer\n";
967  }
void edm::NoProcessProductResolver::putOrMergeProduct_ ( std::unique_ptr< WrapperBase prod) const
finalprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 945 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

945  {
947  << "NoProcessProductResolver::putOrMergeProduct_(std::unique_ptr<WrapperBase> edp) not implemented and should never be called.\n"
948  << "Contact a Framework developer\n";
949  }
void edm::NoProcessProductResolver::putProduct_ ( std::unique_ptr< WrapperBase edp) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 939 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

939  {
941  << "NoProcessProductResolver::putProduct_() not implemented and should never be called.\n"
942  << "Contact a Framework developer\n";
943  }
void edm::NoProcessProductResolver::resetBranchDescription_ ( std::shared_ptr< BranchDescription const >  bd)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 957 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

957  {
959  << "NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n"
960  << "Contact a Framework developer\n";
961  }
void edm::NoProcessProductResolver::resetProductData_ ( bool  deleteEarly)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 895 of file ProductResolvers.cc.

References lastCheckIndex_, lastSkipCurrentCheckIndex_, prefetchRequested_, edm::WaitingTaskList::reset(), skippingPrefetchRequested_, skippingWaitingTasks_, unsetIndexValue(), and waitingTasks_.

895  {
896  const auto resetValue = unsetIndexValue();
897  lastCheckIndex_ = resetValue;
898  lastSkipCurrentCheckIndex_ = resetValue;
899  prefetchRequested_ = false;
903  }
unsigned int unsetIndexValue() const
void reset()
Resets access to the resource so that added tasks will wait.
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
std::atomic< bool > skippingPrefetchRequested_
std::string const& edm::NoProcessProductResolver::resolvedModuleLabel_ ( ) const
inlineoverrideprivatevirtual
ProductResolverBase::Resolution edm::NoProcessProductResolver::resolveProduct_ ( Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 661 of file ProductResolvers.cc.

References ambiguous_, gen::k, kAmbiguousOffset, kMissingOffset, kUnsetOffset, lastCheckIndex_, lastSkipCurrentCheckIndex_, edm::Principal::lookupProcessOrder(), madeAtEnd_, edm::ProductResolverBase::Resolution::makeAmbiguous(), matchingHolders_, edm::ProductResolverIndexInvalid, Resolution, fftjetproducer_cfi::resolution, and tryResolver().

664  {
665  //See if we've already cached which Resolver we should call or if
666  // we know it is ambiguous
667  const unsigned int choiceSize = ambiguous_.size();
668 
669  //madeAtEnd_==true and not at end transition is the same as skipping the current process
670  if( (not skipCurrentProcess) and (madeAtEnd_ and mcc)) {
671  skipCurrentProcess = not mcc->parent().isAtEndTransition();
672  }
673 
674  unsigned int checkCacheIndex = skipCurrentProcess? lastSkipCurrentCheckIndex_.load() : lastCheckIndex_.load();
675  if( checkCacheIndex != choiceSize +kUnsetOffset) {
676  if (checkCacheIndex == choiceSize+kAmbiguousOffset) {
678  } else if(checkCacheIndex == choiceSize+kMissingOffset) {
679  return Resolution(nullptr);
680  }
681  return tryResolver(checkCacheIndex, principal, skipCurrentProcess,
682  sra,mcc);
683  }
684 
685  std::atomic<unsigned int>& updateCacheIndex = skipCurrentProcess? lastSkipCurrentCheckIndex_ : lastCheckIndex_;
686 
687  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
688  for(unsigned int k : lookupProcessOrder) {
689  assert(k < ambiguous_.size());
690  if(k == 0) break; // Done
691  if(ambiguous_[k]) {
692  updateCacheIndex = choiceSize + kAmbiguousOffset;
694  }
696  auto resolution = tryResolver(k,principal, skipCurrentProcess, sra,mcc);
697  if(resolution.data() != nullptr) {
698  updateCacheIndex = k;
699  return resolution;
700  }
701  }
702  }
703 
704  updateCacheIndex = choiceSize + kMissingOffset;
705  return Resolution(nullptr);
706  }
Resolution tryResolver(unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
static unsigned int kUnsetOffset
static unsigned int kMissingOffset
def principal(options)
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< unsigned int > lastCheckIndex_
int k[5][pyjets_maxn]
std::vector< bool > ambiguous_
static unsigned int kAmbiguousOffset
std::vector< ProductResolverIndex > matchingHolders_
void edm::NoProcessProductResolver::setCache ( bool  skipCurrentProcess,
ProductResolverIndex  index,
std::exception_ptr  exceptionPtr 
) const
private

Definition at line 739 of file ProductResolvers.cc.

References edm::WaitingTaskList::doneWaiting(), cmsIgProf_Analysis::execute(), lastCheckIndex_, lastSkipCurrentCheckIndex_, skippingWaitingTasks_, and waitingTasks_.

Referenced by dataValidFromResolver(), prefetchFailed(), and tryPrefetchResolverAsync().

741  {
742  if( not iSkipCurrentProcess) {
743  lastCheckIndex_ = iIndex;
744  waitingTasks_.doneWaiting(iExceptPtr);
745  } else {
748  }
749  }
void doneWaiting(std::exception_ptr iPtr)
Signals that the resource is now available and tasks should be spawned.
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< unsigned int > lastCheckIndex_
void edm::NoProcessProductResolver::setProcessHistory_ ( ProcessHistory const &  ph)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 886 of file ProductResolvers.cc.

886  {
887  }
void edm::NoProcessProductResolver::setProvenance_ ( ProductProvenanceRetriever const *  provRetriever,
ProcessHistory const &  ph,
ProductID const &  pid 
)
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 883 of file ProductResolvers.cc.

883  {
884  }
bool edm::NoProcessProductResolver::singleProduct_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 905 of file ProductResolvers.cc.

905  {
906  return false;
907  }
void edm::NoProcessProductResolver::tryPrefetchResolverAsync ( unsigned int  iProcessingIndex,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc,
ServiceToken  token 
) const

Definition at line 828 of file ProductResolvers.cc.

References ambiguous_, edm::Principal::getProductResolverByIndex(), gen::k, kAmbiguousOffset, kMissingOffset, edm::Principal::lookupProcessOrder(), matchingHolders_, edm::ProductResolverBase::prefetchAsync(), edm::ProductResolverIndexInvalid, and setCache().

Referenced by prefetchAsync_().

833  {
834  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
835  auto index = iProcessingIndex;
836 
837  const unsigned int choiceSize = ambiguous_.size();
838  unsigned int newCacheIndex = choiceSize + kMissingOffset;
839  while(index < lookupProcessOrder.size()) {
840  auto k = lookupProcessOrder[index];
841  if(k==0) {
842  break;
843  }
844  assert(k < ambiguous_.size());
845  if(ambiguous_[k]) {
846  newCacheIndex = choiceSize + kAmbiguousOffset;
847  break;
848  }
850  //make new task
851 
852  auto task = new (tbb::task::allocate_root()) TryNextResolverWaitingTask(
853  this,
854  index,
855  &principal,
856  sra,
857  mcc,
858  skipCurrentProcess,
859  token
860  );
861  task->increment_ref_count();
862  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
863 
864  //Make sure the Services are available on this thread
865  ServiceRegistry::Operate guard(token);
866 
867  productResolver->prefetchAsync(task,
868  principal,
869  skipCurrentProcess,
870  token,
871  sra, mcc);
872  if(0 == task->decrement_ref_count()) {
873  tbb::task::spawn(*task);
874  }
875  return;
876  }
877  ++index;
878  }
879  //data product unavailable
880  setCache(skipCurrentProcess, newCacheIndex, nullptr);
881  }
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
static unsigned int kMissingOffset
def principal(options)
int k[5][pyjets_maxn]
std::vector< bool > ambiguous_
static unsigned int kAmbiguousOffset
std::vector< ProductResolverIndex > matchingHolders_
ProductResolverBase::Resolution edm::NoProcessProductResolver::tryResolver ( unsigned int  index,
Principal const &  principal,
bool  skipCurrentProcess,
SharedResourcesAcquirer sra,
ModuleCallingContext const *  mcc 
) const
private

Definition at line 650 of file ProductResolvers.cc.

References edm::Principal::getProductResolverByIndex(), matchingHolders_, and edm::ProductResolverBase::resolveProduct().

Referenced by resolveProduct_().

654  {
655  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[index]);
656  return productResolver->resolveProduct(principal, skipCurrentProcess, sra, mcc);
657  }
def principal(options)
std::vector< ProductResolverIndex > matchingHolders_
bool edm::NoProcessProductResolver::unscheduledWasNotRun_ ( ) const
overrideprivatevirtual

Implements edm::ProductResolverBase.

Definition at line 909 of file ProductResolvers.cc.

References Exception, and edm::errors::LogicError.

909  {
911  << "NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n"
912  << "Contact a Framework developer\n";
913  }
unsigned int edm::NoProcessProductResolver::unsetIndexValue ( ) const
inlineprivate

Definition at line 893 of file ProductResolvers.cc.

References ambiguous_, and kUnsetOffset.

Referenced by resetProductData_().

893 { return ambiguous_.size()+kUnsetOffset; }
static unsigned int kUnsetOffset
std::vector< bool > ambiguous_

Member Data Documentation

std::vector<bool> edm::NoProcessProductResolver::ambiguous_
private
std::atomic<unsigned int> edm::NoProcessProductResolver::lastCheckIndex_
mutableprivate

Definition at line 378 of file ProductResolvers.h.

Referenced by resetProductData_(), resolveProduct_(), and setCache().

std::atomic<unsigned int> edm::NoProcessProductResolver::lastSkipCurrentCheckIndex_
mutableprivate

Definition at line 379 of file ProductResolvers.h.

Referenced by resetProductData_(), resolveProduct_(), and setCache().

const bool edm::NoProcessProductResolver::madeAtEnd_
private

Definition at line 382 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resolveProduct_().

std::vector<ProductResolverIndex> edm::NoProcessProductResolver::matchingHolders_
private
std::atomic<bool> edm::NoProcessProductResolver::prefetchRequested_
mutableprivate

Definition at line 380 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

std::atomic<bool> edm::NoProcessProductResolver::skippingPrefetchRequested_
mutableprivate

Definition at line 381 of file ProductResolvers.h.

Referenced by prefetchAsync_(), and resetProductData_().

WaitingTaskList edm::NoProcessProductResolver::skippingWaitingTasks_
mutableprivate

Definition at line 377 of file ProductResolvers.h.

Referenced by prefetchAsync_(), resetProductData_(), and setCache().

WaitingTaskList edm::NoProcessProductResolver::waitingTasks_
mutableprivate

Definition at line 376 of file ProductResolvers.h.

Referenced by prefetchAsync_(), resetProductData_(), and setCache().