载入中...
搜索中...
未找到
ResourceAccountParticipant.h
浏览该文件的文档.
Strongly typed, transaction-friendly resource cost protocol.
Provider-neutral resource account contract.
Definition ResourceAccount.h:316
Synchronous participant contract for one coordinator transaction.
Definition Transaction.h:128
Adapts IResourceAccount debit semantics to Coordinator.
Definition ResourceAccountParticipant.h:37
ResourceDebitParticipant & operator=(ResourceDebitParticipant &&)=delete
std::string_view name() const noexcept override
Return the diagnostic name supplied at construction.
Definition ResourceAccountParticipant.h:54
ResourceDebitParticipant & operator=(const ResourceDebitParticipant &)=delete
ResourceDebitParticipant(const ResourceDebitParticipant &)=delete
ResourceDebitState state() const noexcept
Return the participant lifecycle state for diagnostics/tests.
Definition ResourceAccountParticipant.h:73
ResourceDebitParticipant(ResourceDebitParticipant &&)=delete
Immutable context shared by every participant of one transaction.
Definition Transaction.h:30
Definition AtomicResourcePayment.cpp:8
ResourceDebitState
Lifecycle state of a resource debit participant.
Definition ResourceAccountParticipant.h:20
@ Compensated
@ RolledBack
Reservation credential returned by a successful reserve operation.
Definition ResourceAccount.h:279