35 exception <<
"DataManagingProductResolver::resolveProduct_: The product matching all criteria was already deleted\n"
37 <<
"Looking for module label: " <<
moduleLabel() <<
"\n"
40 <<
"This means there is a configuration error.\n"
41 <<
"The module which is asking for this data must be configured to state that it will read this data.";
46 template <
bool callResolver,
typename FUNC>
51 auto presentStatus =
status();
56 auto failedStatusSetter = [
this](
ProductStatus* iPresentStatus) {
60 *iPresentStatus = this->
status();
62 std::unique_ptr<ProductStatus, decltype(failedStatusSetter)> failedStatusGuard(&presentStatus,
71 if (pd->wrapper()->isPresent()) {
96 if (
original->isPresent() != iFrom->isPresent()) {
99 <<
"Was trying to merge objects where one product had been put in the input file and the other had not "
102 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n"
103 <<
"that need to be merged in the first place.\n";
107 if (mergeableRunProductMetadata ==
nullptr || desc.
branchType() !=
InRun) {
108 original->mergeProduct(iFrom.get());
113 original->mergeProduct(iFrom.get());
128 }
else if (
original->hasIsProductEqual()) {
129 if (
original->isPresent() && iFrom->isPresent()) {
130 if (!
original->isProductEqual(iFrom.get())) {
133 <<
"ProductResolver::mergeTheProduct\n"
134 <<
"Two run/lumi products for the same run/lumi which should be equal are not\n"
135 <<
"Using the first, ignoring the second\n"
136 <<
"className = " <<
bd.className() <<
"\n"
137 <<
"moduleLabel = " <<
bd.moduleLabel() <<
"\n"
138 <<
"instance = " <<
bd.productInstanceName() <<
"\n"
139 <<
"process = " <<
bd.processName() <<
"\n";
141 }
else if (!
original->isPresent() && iFrom->isPresent()) {
147 edm::LogWarning(
"RunLumiMerging") <<
"ProductResolver::mergeTheProduct\n"
148 <<
"Run/lumi product has neither a mergeProduct nor isProductEqual function\n"
149 <<
"Using the first, ignoring the second in merge\n"
150 <<
"className = " <<
bd.className() <<
"\n"
151 <<
"moduleLabel = " <<
bd.moduleLabel() <<
"\n"
152 <<
"instance = " <<
bd.productInstanceName() <<
"\n"
153 <<
"process = " <<
bd.processName() <<
"\n";
154 if (!
original->isPresent() && iFrom->isPresent()) {
173 return resolveProductImpl<true>([
this, &principal, mcc]() {
174 auto branchType = principal.branchType();
185 if (branchType ==
InEvent and aux_) {
186 aux_->postModuleDelayedGetSignal_.emit(*(iContext->
getStreamContext()), *iContext);
190 if (
auto reader = principal.reader()) {
191 std::unique_lock<std::recursive_mutex> guard;
192 if (
auto sr =
reader->sharedResources().second) {
193 guard = std::unique_lock<std::recursive_mutex>(*sr);
213 std::unique_lock<std::recursive_mutex> guard;
214 if (
auto sr =
reader->sharedResources().second) {
215 guard = std::unique_lock<std::recursive_mutex>(*sr);
222 if (edp.get() !=
nullptr) {
227 <<
"Mergeable data types written to a Run must have the swap member function defined"
236 <<
"The product branch was dropped in the first run or lumi fragment and present in a later one"
238 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n"
239 <<
"that need to be merged in the first place.\n";
246 <<
"The product branch was present in first run or lumi fragment and dropped in a later one"
248 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n"
249 <<
"that need to be merged in the first place.\n";
272 bool skipCurrentProcess,
277 bool expected =
false;
281 if (prefetchRequested) {
283 auto workToDo = [
this, mcc, &principal, weakToken]() {
288 resolveProductImpl<true>([
this, &principal, mcc]() {
289 if (principal.branchType() !=
InEvent && principal.branchType() !=
InProcess) {
292 if (
auto reader = principal.reader()) {
293 std::unique_lock<std::recursive_mutex> guard;
294 if (
auto sr =
reader->sharedResources().second) {
295 guard = std::unique_lock<std::recursive_mutex>(*sr);
318 if (
auto reader = principal.reader()) {
319 if (
auto shared_res =
reader->sharedResources().first) {
320 queue = &(shared_res->serialQueueChain());
324 queue->
push(*waitTask.
group(), workToDo);
328 waitTask.
group()->run([
t]() {
337 if (not deleteEarly) {
362 bool skipCurrentProcess,
365 return resolveProductImpl<false>([]() {
return; });
370 bool skipCurrentProcess,
380 bool skipCurrentProcess,
383 if (!skipCurrentProcess) {
385 return resolveProductImpl<false>([]() {
return; });
392 bool skipCurrentProcess,
396 if (not skipCurrentProcess) {
411 bool expected =
false;
415 if (
worker_ and prefetchRequested) {
422 if (
nullptr != iException) {
435 bool expected =
false;
442 if (not deleteEarly) {
459 bool skipCurrentProcess,
462 if (!skipCurrentProcess and
worker_) {
463 return resolveProductImpl<false>([] {});
470 bool skipCurrentProcess,
474 if (skipCurrentProcess) {
478 throw cms::Exception(
"LogicError") <<
"UnscheduledProductResolver::prefetchAsync_() called with null worker_. "
479 "This should not happen, please contact framework developers.";
482 bool expected =
false;
485 if (prefetchRequested) {
493 resolveProductImpl<true>([iPtr]() {
495 std::rethrow_exception(*iPtr);
518 if (not deleteEarly) {
546 <<
"It is actually of type " << typeID.className() <<
".\n";
573 auto presentStatus =
status();
644 : realProduct_(realProduct), productData_(std::
move(bd)), prefetchRequested_(
false) {
654 <<
"SwitchBaseProductResolver::connectTo() not implemented and should never be called.\n"
655 <<
"Contact a Framework developer\n";
663 if (res.
data() ==
nullptr)
688 if (not deleteEarly) {
706 bool skipCurrentProcess,
717 bool skipCurrentProcess,
721 if (skipCurrentProcess) {
729 bool expected =
false;
730 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
733 if (doPrefetchRequested) {
739 if (
nullptr != iException) {
754 <<
"This makes no sense for SwitchProducerProductResolver.\nContact a Framework developer";
759 bool expected =
false;
776 if (not deleteEarly) {
782 bool skipCurrentProcess,
790 bool skipCurrentProcess,
794 if (skipCurrentProcess) {
799 bool expected =
false;
800 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
803 if (doPrefetchRequested) {
809 if (
nullptr != iException) {
852 <<
"ParentProcessProductResolver::throwNullRealProduct RealProduct pointer not set in this context.\n"
853 <<
"Contact a Framework developer\n";
857 std::vector<bool>
const& ambiguous,
859 : matchingHolders_(matchingHolders),
860 ambiguous_(ambiguous),
862 lastSkipCurrentCheckIndex_(lastCheckIndex_.
load()),
863 prefetchRequested_(
false),
864 skippingPrefetchRequested_(
false),
865 madeAtEnd_{madeAtEnd} {
866 assert(ambiguous_.size() == matchingHolders_.size());
871 bool skipCurrentProcess,
875 return productResolver->
resolveProduct(principal, skipCurrentProcess, sra, mcc);
879 bool skipCurrentProcess,
884 const unsigned int choiceSize =
ambiguous_.size();
887 if ((not skipCurrentProcess) and (
madeAtEnd_ and mcc)) {
888 skipCurrentProcess = not mcc->parent().isAtEndTransition();
898 return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
904 for (
unsigned int k : lookupProcessOrder) {
915 updateCacheIndex =
k;
927 bool skipCurrentProcess,
931 bool timeToMakeAtEnd =
true;
933 timeToMakeAtEnd = mcc->parent().isAtEndTransition();
937 if (not skipCurrentProcess and timeToMakeAtEnd) {
939 bool expected =
false;
943 if (prefetchRequested) {
949 bool expected =
false;
959 std::exception_ptr iExceptPtr)
const {
960 if (not iSkipCurrentProcess) {
973 unsigned int iResolverIndex,
977 bool iSkipCurrentProcess,
979 oneapi::tbb::task_group* iGroup)
980 : resolver_(iResolver),
981 principal_(iPrincipal),
985 serviceToken_(iToken),
986 index_(iResolverIndex),
987 skipCurrentProcess_(iSkipCurrentProcess) {}
989 void execute() final {
990 auto exceptPtr = exceptionPtr();
992 resolver_->prefetchFailed(index_, *principal_, skipCurrentProcess_, *exceptPtr);
994 if (not resolver_->dataValidFromResolver(index_, *principal_, skipCurrentProcess_)) {
995 resolver_->tryPrefetchResolverAsync(
996 index_ + 1, *principal_, skipCurrentProcess_, sra_, mcc_, serviceToken_.lock(), group_);
1002 NoProcessProductResolver
const* resolver_;
1003 Principal
const* principal_;
1005 ModuleCallingContext
const* mcc_;
1006 oneapi::tbb::task_group* group_;
1007 ServiceWeakToken serviceToken_;
1008 unsigned int index_;
1009 bool skipCurrentProcess_;
1015 bool iSkipCurrentProcess,
1016 std::exception_ptr iExceptPtr)
const {
1017 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1018 auto k = lookupProcessOrder[iProcessingIndex];
1020 setCache(iSkipCurrentProcess,
k, iExceptPtr);
1025 bool iSkipCurrentProcess)
const {
1026 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1027 auto k = lookupProcessOrder[iProcessingIndex];
1031 setCache(iSkipCurrentProcess, k,
nullptr);
1039 bool skipCurrentProcess,
1043 oneapi::tbb::task_group*
group)
const {
1044 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1045 auto index = iProcessingIndex;
1047 const unsigned int choiceSize =
ambiguous_.size();
1049 while (
index < lookupProcessOrder.size()) {
1050 auto k = lookupProcessOrder[
index];
1062 auto task =
new TryNextResolverWaitingTask(
this,
index, &principal, sra, mcc, skipCurrentProcess, token, group);
1069 productResolver->
prefetchAsync(hTask, principal, skipCurrentProcess, token, sra, mcc);
1075 setCache(skipCurrentProcess, newCacheIndex,
nullptr);
1103 <<
"NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n"
1104 <<
"Contact a Framework developer\n";
1109 <<
"NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n"
1110 <<
"Contact a Framework developer\n";
1115 <<
"NoProcessProductResolver::productResolved_() not implemented and should never be called.\n"
1116 <<
"Contact a Framework developer\n";
1121 <<
"NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n"
1122 <<
"Contact a Framework developer\n";
1127 <<
"NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n"
1128 <<
"Contact a Framework developer\n";
1133 <<
"NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n"
1134 <<
"Contact a Framework developer\n";
1139 <<
"NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n"
1140 <<
"Contact a Framework developer\n";
1145 <<
"NoProcessProductResolver::provenance_() not implemented and should never be called.\n"
1146 <<
"Contact a Framework developer\n";
1151 <<
"NoProcessProductResolver::connectTo() not implemented and should never be called.\n"
1152 <<
"Contact a Framework developer\n";
1158 bool skipCurrentProcess,
1164 ->resolveProduct(principal, skipCurrentProcess, sra, mcc);
1169 bool skipCurrentProcess,
1174 ->prefetchAsync(waitTask, principal, skipCurrentProcess, token, sra, mcc);
1189 <<
"SingleChoiceNoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n"
1190 <<
"Contact a Framework developer\n";
1195 <<
"SingleChoiceNoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n"
1196 <<
"Contact a Framework developer\n";
1201 <<
"SingleChoiceNoProcessProductResolver::productResolved_() not implemented and should never be called.\n"
1202 <<
"Contact a Framework developer\n";
1207 <<
"SingleChoiceNoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n"
1208 <<
"Contact a Framework developer\n";
1213 "implemented and should never be called.\n"
1214 <<
"Contact a Framework developer\n";
1219 <<
"SingleChoiceNoProcessProductResolver::branchDescription_() not implemented and should never be called.\n"
1220 <<
"Contact a Framework developer\n";
1225 "implemented and should never be called.\n"
1226 <<
"Contact a Framework developer\n";
1231 <<
"SingleChoiceNoProcessProductResolver::provenance_() not implemented and should never be called.\n"
1232 <<
"Contact a Framework developer\n";
1237 <<
"SingleChoiceNoProcessProductResolver::connectTo() not implemented and should never be called.\n"
1238 <<
"Contact a Framework developer\n";
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
void connectTo(ProductResolverBase const &iOther, Principal const *) final
ProductProvenance const * productProvenancePtr_() const override
void setProductID(ProductID const &pid)
ProductData const & getProductData() const final
Provenance const & provenance() const
std::string const & branchName() const
ProductProvenanceLookup const * store() const
ServiceToken lock() const
std::string const & productInstanceName() const
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) final
bool isAtEndTransition() const
std::unique_ptr< T, F > make_sentry(T *iObject, F iFunc)
NOTE: if iObject is null, then iFunc will not be called.
DataManagingOrAliasProductResolver const & realProduct() const
void resetProductData_(bool deleteEarly) override
bool productWasDeleted_() const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
Provenance const * provenance() const
BranchType const & branchType() const
void prefetchAsync(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
static constexpr unsigned int kAmbiguousOffset
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
WaitingTaskList & waitingTasks() const
bool singleProduct_() const override
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
unsigned int ProductResolverIndex
StreamContext const * getStreamContext() const
SwitchProducerProductResolver(std::shared_ptr< BranchDescription const > bd, DataManagingOrAliasProductResolver &realProduct)
static constexpr unsigned int kMissingOffset
SwitchBaseProductResolver(std::shared_ptr< BranchDescription const > bd, DataManagingOrAliasProductResolver &realProduct)
void checkType(WrapperBase const &prod) const
std::type_info const & dynamicTypeInfo() const
Resolution resolveProductImpl(Resolution) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
WaitingTaskList m_waitingTasks
unsigned int unsetIndexValue() const
std::shared_ptr< BranchDescription const > bd_
void resetProductData_(bool deleteEarly) override
EventPrincipal & principal()
void setProductID_(ProductID const &pid) final
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
void putProduct(std::unique_ptr< WrapperBase > edp) const final
std::atomic< bool > prefetchRequested_
ProductStatus status() const
void resetProductData_(bool deleteEarly) final
void unsafe_setWrapperAndProvenance() const
void throwNullRealProduct() const
void doWorkAsync(WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
Resolution tryResolver(unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
WrapperBase const * wrapper() const
bool singleProduct_() const final
WaitingTaskList skippingWaitingTasks_
ProductProvenance const * branchIDToProvenance(BranchID const &bid) const
std::string const & processName() const
void resetProductData_(bool deleteEarly) override
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const override
ProductProvenance const * productProvenance() const
bool unscheduledWasNotRun_() const override
Resolution resolveProduct(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
bool singleProduct_() const override
Log< level::Error, false > LogError
bool productUnavailable_() const override
std::atomic< bool > prefetchRequested_
void reset()
Resets access to the resource so that added tasks will wait.
ProductProvenanceRetriever const * provRetriever_
void connectTo(ProductResolverBase const &iOther, Principal const *) final
ProductData const & getProductData() const final
bool productUnavailable() const
BranchDescription const & branchDescription_() const override
void resetProductData_(bool deleteEarly) override
std::string const & processName() const
WaitingTaskList waitingTasks_
Provenance const * provenance_() const override
void connectTo(ProductResolverBase const &, Principal const *) final
ParentContext const & parent() const
void setProductID(ProductID const &pid)
DataManagingOrAliasProductResolver & realProduct_
bool productUnavailable_() const final
void throwProductDeletedException() const
WaitingTaskList waitingTasks_
oneapi::tbb::task_group * group() const noexcept
bool singleProduct_() const override
void unsafe_setWrapper(std::unique_ptr< WrapperBase > iValue) const
void prefetchFailed(unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess, std::exception_ptr iExceptPtr) const
void setProductID_(ProductID const &pid) override
UnscheduledAuxiliary const * aux_
void doneWaiting(std::exception_ptr iPtr)
Signals that the resource is now available and tasks should be spawned.
bool productWasDeleted_() const final
virtual bool isFromCurrentProcess() const =0
void setupUnscheduled(UnscheduledConfigurator const &iConfigure) final
std::string const & className() const
bool productResolved_() const final
std::string const & moduleLabel() const
std::string const & productInstanceName() const
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
BranchDescription const & branchDescription_() const override
bool productWasDeleted() const
std::vector< unsigned int > const & lookupProcessOrder() const
std::atomic< bool > prefetchRequested_
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const final
void resetProductData_(bool deleteEarly) override
bool dataValidFromResolver(unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess) const
StreamID streamID() const
TypeID unwrappedTypeID() const
void add(oneapi::tbb::task_group *, WaitingTask *)
Adds task to the waiting list.
void resetProductData_(bool deleteEarly) override
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
bool isFromCurrentProcess() const final
ProductProvenance const * productProvenancePtr_() const final
bool productResolved_() const final
static constexpr const ProductStatus defaultStatus_
void resetBranchDescription_(std::shared_ptr< BranchDescription const > bd) override
FunctorWaitingTask< F > * make_waiting_task(F f)
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
TypeWithDict const & unwrappedType() const
void callWhenDoneAsync(WaitingTaskHolder task)
void setProductID_(ProductID const &pid) override
EventTransitionInfo const & eventTransitionInfo() const
void setMergeableRunProductMetadata(MergeableRunProductMetadataBase const *mrpm)
std::type_info const & unvalidatedTypeInfo() const
void setProductID_(ProductID const &pid) final
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void setProduct(std::unique_ptr< WrapperBase > edp) const
NoProcessProductResolver(std::vector< ProductResolverIndex > const &matchingHolders, std::vector< bool > const &ambiguous, bool madeAtEnd)
std::atomic< bool > skippingPrefetchRequested_
ProductProvenance const * productProvenancePtr_() const override
std::atomic< ProductStatus > theStatus_
std::vector< bool > ambiguous_
Resolution resolveProductImpl(FUNC resolver) const
DelayedReader * reader() const
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
UnscheduledAuxiliary const * auxiliary() const
static constexpr unsigned int kUnsetOffset
void resetProductData_(bool deleteEarly) override
bool productResolved_() const final
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
bool singleProduct_() const override
void setupUnscheduled(UnscheduledConfigurator const &) final
ProductStatus defaultStatus() const
ProductData const * data() const
bool productWasFetchedAndIsValid(bool iSkipCurrentProcess) const
void setMergeableRunProductMetadataInProductData(MergeableRunProductMetadata const *)
void setProvenance(ProductProvenanceLookup const *provRetriever)
FunctorTask< F > * make_functor_task(F f)
void tryPrefetchResolverAsync(unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token, oneapi::tbb::task_group *) const
void insertIntoSet(ProductProvenance provenanceProduct) const
void setProductID_(ProductID const &pid) override
void addContext(std::string const &context)
DataManagingOrAliasProductResolver & realProduct_
std::vector< ProductResolverIndex > matchingHolders_
void resetBranchDescription_(std::shared_ptr< BranchDescription const > bd) override
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
Transition transition() const
BranchDescription const & branchDescription() const
Worker * findWorker(std::string const &iLabel) const
ConstProductResolverPtr getProductResolverByIndex(ProductResolverIndex const &oid) const
bool unscheduledWasNotRun_() const override
void setParents(std::vector< BranchID > parents)
bool productWasDeleted_() const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void setupUnscheduled(UnscheduledConfigurator const &) final
bool productResolved() const
void resetProductData_(bool deleteEarly) override=0
BranchID const & originalBranchID() const
Provenance const * provenance_() const override
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
bool availableOnlyAtEndTransition() const
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
Log< level::Warning, false > LogWarning
void resetProductData_(bool deleteEarly) override
ProductProvenance const * productProvenancePtr_() const override
std::atomic< bool > & prefetchRequested() const
bool productResolved_() const final
static ParentageRegistry * instance()
bool productUnavailable_() const override
GlobalContext const * globalContext() const
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const override
ProductProvenance const * productProvenancePtr_() const override
static Resolution makeAmbiguous()
void setProductID_(ProductID const &pid) override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
tuple size
Write out results.
WaitingTaskList waitingTasks_
bool insertMapped(value_type const &v)
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) final
std::string const & moduleLabel() const
void putProduct(std::unique_ptr< WrapperBase > edp) const override
void setProductProvenanceRetriever(ProductProvenanceRetriever const *provRetriever)
WrapperBase * unsafe_wrapper() const
bool productUnavailable_() const final
void push(oneapi::tbb::task_group &iGroup, T &&iAction)
asynchronously pushes functor iAction into queue
static HepMC::HEPEVT_Wrapper wrapper
ProductResolverIndex realResolverIndex_
void putProduct(std::unique_ptr< WrapperBase > edp) const override
void setFailedStatus() const
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void connectTo(ProductResolverBase const &iOther, Principal const *iParentPrincipal) final