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 634 of file ProductResolvers.cc.

References ambiguous_, and matchingHolders_.

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

636  :
637  matchingHolders_(matchingHolders),
638  ambiguous_(ambiguous),
641  prefetchRequested_(false),
643  madeAtEnd_{madeAtEnd}
644  {
645  assert(ambiguous_.size() == matchingHolders_.size());
646  }
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 950 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 968 of file ProductResolvers.cc.

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

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

Definition at line 810 of file ProductResolvers.cc.

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

812  {
813  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
814  auto k = lookupProcessOrder[iProcessingIndex];
815  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
816 
817  if(productResolver->productWasFetchedAndIsValid(iSkipCurrentProcess)) {
818 
819  setCache(iSkipCurrentProcess, k, nullptr);
820  return true;
821  }
822  return false;
823  }
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 708 of file ProductResolvers.cc.

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

713  {
714  bool timeToMakeAtEnd = true;
715  if(madeAtEnd_ and mcc) {
716  timeToMakeAtEnd = mcc->parent().isAtEndTransition();
717  }
718 
719  //If timeToMakeAtEnd is false, then it is equivalent to skipping the current process
720  if(not skipCurrentProcess and timeToMakeAtEnd) {
721  waitingTasks_.add(waitTask);
722 
723  bool expected = false;
724  if( prefetchRequested_.compare_exchange_strong(expected,true)) {
725  //we are the first thread to request
726  tryPrefetchResolverAsync(0, principal, false, sra, mcc, token);
727  }
728  } else {
729  skippingWaitingTasks_.add(waitTask);
730  bool expected = false;
731  if( skippingPrefetchRequested_.compare_exchange_strong(expected,true)) {
732  //we are the first thread to request
733  tryPrefetchResolverAsync(0, principal, true, sra, mcc, token);
734  }
735  }
736  }
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 798 of file ProductResolvers.cc.

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

801  {
802  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
803  auto k = lookupProcessOrder[iProcessingIndex];
804 
805  setCache(iSkipCurrentProcess, k, iExceptPtr);
806  }
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 888 of file ProductResolvers.cc.

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

Implements edm::ProductResolverBase.

Definition at line 920 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 914 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 926 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 932 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 962 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 944 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 938 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 956 of file ProductResolvers.cc.

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

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

Implements edm::ProductResolverBase.

Definition at line 894 of file ProductResolvers.cc.

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

894  {
895  const auto resetValue = unsetIndexValue();
896  lastCheckIndex_ = resetValue;
897  lastSkipCurrentCheckIndex_ = resetValue;
898  prefetchRequested_ = false;
902  }
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 660 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().

663  {
664  //See if we've already cached which Resolver we should call or if
665  // we know it is ambiguous
666  const unsigned int choiceSize = ambiguous_.size();
667 
668  //madeAtEnd_==true and not at end transition is the same as skipping the current process
669  if( (not skipCurrentProcess) and (madeAtEnd_ and mcc)) {
670  skipCurrentProcess = not mcc->parent().isAtEndTransition();
671  }
672 
673  unsigned int checkCacheIndex = skipCurrentProcess? lastSkipCurrentCheckIndex_.load() : lastCheckIndex_.load();
674  if( checkCacheIndex != choiceSize +kUnsetOffset) {
675  if (checkCacheIndex == choiceSize+kAmbiguousOffset) {
677  } else if(checkCacheIndex == choiceSize+kMissingOffset) {
678  return Resolution(nullptr);
679  }
680  return tryResolver(checkCacheIndex, principal, skipCurrentProcess,
681  sra,mcc);
682  }
683 
684  std::atomic<unsigned int>& updateCacheIndex = skipCurrentProcess? lastSkipCurrentCheckIndex_ : lastCheckIndex_;
685 
686  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
687  for(unsigned int k : lookupProcessOrder) {
688  assert(k < ambiguous_.size());
689  if(k == 0) break; // Done
690  if(ambiguous_[k]) {
691  updateCacheIndex = choiceSize + kAmbiguousOffset;
693  }
695  auto resolution = tryResolver(k,principal, skipCurrentProcess, sra,mcc);
696  if(resolution.data() != nullptr) {
697  updateCacheIndex = k;
698  return resolution;
699  }
700  }
701  }
702 
703  updateCacheIndex = choiceSize + kMissingOffset;
704  return Resolution(nullptr);
705  }
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 738 of file ProductResolvers.cc.

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

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

740  {
741  if( not iSkipCurrentProcess) {
742  lastCheckIndex_ = iIndex;
743  waitingTasks_.doneWaiting(iExceptPtr);
744  } else {
747  }
748  }
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 885 of file ProductResolvers.cc.

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

Implements edm::ProductResolverBase.

Definition at line 882 of file ProductResolvers.cc.

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

Implements edm::ProductResolverBase.

Definition at line 904 of file ProductResolvers.cc.

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

Definition at line 827 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_().

832  {
833  std::vector<unsigned int> const& lookupProcessOrder = principal.lookupProcessOrder();
834  auto index = iProcessingIndex;
835 
836  const unsigned int choiceSize = ambiguous_.size();
837  unsigned int newCacheIndex = choiceSize + kMissingOffset;
838  while(index < lookupProcessOrder.size()) {
839  auto k = lookupProcessOrder[index];
840  if(k==0) {
841  break;
842  }
843  assert(k < ambiguous_.size());
844  if(ambiguous_[k]) {
845  newCacheIndex = choiceSize + kAmbiguousOffset;
846  break;
847  }
849  //make new task
850 
851  auto task = new (tbb::task::allocate_root()) TryNextResolverWaitingTask(
852  this,
853  index,
854  &principal,
855  sra,
856  mcc,
857  skipCurrentProcess,
858  token
859  );
860  task->increment_ref_count();
861  ProductResolverBase const* productResolver = principal.getProductResolverByIndex(matchingHolders_[k]);
862 
863  //Make sure the Services are available on this thread
864  ServiceRegistry::Operate guard(token);
865 
866  productResolver->prefetchAsync(task,
867  principal,
868  skipCurrentProcess,
869  token,
870  sra, mcc);
871  if(0 == task->decrement_ref_count()) {
872  tbb::task::spawn(*task);
873  }
874  return;
875  }
876  ++index;
877  }
878  //data product unavailable
879  setCache(skipCurrentProcess, newCacheIndex, nullptr);
880  }
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 649 of file ProductResolvers.cc.

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

Referenced by resolveProduct_().

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

Implements edm::ProductResolverBase.

Definition at line 908 of file ProductResolvers.cc.

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

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

Definition at line 892 of file ProductResolvers.cc.

References ambiguous_, and kUnsetOffset.

Referenced by resetProductData_().

892 { 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().