#include <ProductResolvers.h>
Private Member Functions | |
void | prefetchAsync_ (WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override |
void | putProduct (std::unique_ptr< WrapperBase > edp) const override |
void | resetProductData_ (bool deleteEarly) override |
Resolution | resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override |
bool | unscheduledWasNotRun_ () const override |
Private Attributes | |
WaitingTaskList | m_waitingTasks |
std::atomic< bool > | prefetchRequested_ |
Worker * | worker_ |
Additional Inherited Members | |
Public Types inherited from edm::DataManagingProductResolver | |
enum | ProductStatus { ProductStatus::ProductSet, ProductStatus::NotPut, ProductStatus::ResolveFailed, ProductStatus::ResolveNotRun, ProductStatus::ProductDeleted } |
Protected Member Functions inherited from edm::DataManagingProductResolver | |
void | checkType (WrapperBase const &prod) const |
ProductStatus | defaultStatus () const |
ProductData const & | getProductData () const final |
template<bool callResolver, typename FUNC > | |
Resolution | resolveProductImpl (FUNC resolver) const |
void | setFailedStatus () const |
void | setMergeableRunProductMetadataInProductData (MergeableRunProductMetadata const *) |
void | setProduct (std::unique_ptr< WrapperBase > edp) const |
void | setProduct (std::shared_ptr< WrapperBase > edp) const |
ProductStatus | status () const |
Definition at line 201 of file ProductResolvers.h.
|
inlineexplicit |
Definition at line 203 of file ProductResolvers.h.
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 390 of file ProductResolvers.cc.
References edm::WaitingTaskList::add(), edm::BranchDescription::availableOnlyAtEndTransition(), edm::ProductResolverBase::branchDescription(), edm::Worker::callWhenDoneAsync(), edm::WaitingTaskList::doneWaiting(), edm::ParentContext::globalContext(), edm::WaitingTaskHolder::group(), edm::InProcess, edm::ParentContext::isAtEndTransition(), edm::GlobalContext::kAccessInputProcessBlock, m_waitingTasks, edm::make_waiting_task(), edm::ModuleCallingContext::parent(), prefetchRequested_, edm::GlobalContext::transition(), and worker_.
|
overrideprivatevirtual |
Reimplemented from edm::ProducedProductResolver.
Definition at line 433 of file ProductResolvers.cc.
References edm::WaitingTaskList::doneWaiting(), m_waitingTasks, eostools::move(), prefetchRequested_, and edm::ProducedProductResolver::putProduct().
|
overrideprivatevirtual |
Reimplemented from edm::DataManagingProductResolver.
Definition at line 441 of file ProductResolvers.cc.
References m_waitingTasks, prefetchRequested_, edm::WaitingTaskList::reset(), and edm::DataManagingProductResolver::resetProductData_().
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 379 of file ProductResolvers.cc.
References Resolution.
|
finalvirtual |
Reimplemented from edm::ProductResolverBase.
Definition at line 449 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::UnscheduledConfigurator::findWorker(), edm::ProductResolverBase::moduleLabel(), and worker_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 219 of file ProductResolvers.h.
|
mutableprivate |
Definition at line 224 of file ProductResolvers.h.
Referenced by prefetchAsync_(), putProduct(), and resetProductData_().
|
mutableprivate |
Definition at line 226 of file ProductResolvers.h.
Referenced by prefetchAsync_(), putProduct(), and resetProductData_().
|
private |
Definition at line 225 of file ProductResolvers.h.
Referenced by prefetchAsync_(), and setupUnscheduled().