CatapultServer
v0.5.0.1 (Elephant)
|
ConsumerResultSeverity ResultSeverity
Consumer result severity.
Definition: DisruptorTypes.h:128
uint64_t PositionType
Position within disruptor components.
Definition: DisruptorTypes.h:29
constexpr ConsumerResult()
Creates a default result.
Definition: DisruptorTypes.h:66
Extended consumer result passed to completion callback.
Definition: DisruptorTypes.h:105
PositionType FinalConsumerPosition
Position of the final consumer processing the entity.
Definition: DisruptorTypes.h:113
Processing of the entity was aborted by a consumer.
FreeTransactionElement(const model::Transaction &transaction)
Creates a transaction element around transaction.
Definition: DisruptorTypes.h:122
CompletionStatus
Completion status.
Definition: DisruptorTypes.h:38
uint64_t DisruptorElementId
Id of a disruptor element.
Definition: DisruptorTypes.h:32
constexpr ConsumerResult(disruptor::CompletionStatus status, disruptor::CompletionCode code)
Definition: DisruptorTypes.h:70
consumer< DisruptorElementId, const ConsumerCompletionResult & > ProcessingCompleteFunc
Function signature for signaling that processing finished.
Definition: DisruptorTypes.h:117
std::vector< FreeTransactionElement > TransactionElements
A container of FreeTransactionElement.
Definition: DisruptorTypes.h:135
static constexpr ConsumerResult Continue()
Creates a consumer result indicating that processing should continue.
Definition: DisruptorTypes.h:94
std::vector< model::BlockElement > BlockElements
A container of BlockElement.
Definition: DisruptorTypes.h:132
Processing element for a transaction composed of a transaction and metadata.
Definition: Elements.h:33
disruptor::CompletionCode CompletionCode
Optional code that can provide additional consumer completion information.
Definition: DisruptorTypes.h:80
Processing element for a transaction unassociated with a block composed of a transaction and metadata...
Definition: DisruptorTypes.h:120
Processing of the entity is ongoing.
Definition: AddressExtractionExtension.cpp:28
Processing of the entity was completed and the entity was consumed.
static constexpr ConsumerResult Abort(disruptor::CompletionCode code)
Creates a consumer result indicating that processing should be aborted with the specified code.
Definition: DisruptorTypes.h:89
static constexpr ConsumerResult Complete(disruptor::CompletionCode code)
Creates a consumer result indicating that processing has completed with the specified code.
Definition: DisruptorTypes.h:99
ConsumerResultSeverity
Definition: DisruptorTypes.h:51
constexpr ConsumerCompletionResult()
Creates a default result.
Definition: DisruptorTypes.h:108
TransactionElement(const model::Transaction &transaction)
Creates a transaction element around transaction.
Definition: Elements.h:36
std::function< void(TArgs...)> consumer
A consumer function.
Definition: functions.h:35
disruptor::CompletionStatus CompletionStatus
Completion status.
Definition: DisruptorTypes.h:77
uint32_t CompletionCode
Optional code that can provide additional consumer completion information.
Definition: DisruptorTypes.h:35
static constexpr ConsumerResult Abort()
Creates a consumer result indicating that processing should be aborted.
Definition: DisruptorTypes.h:84
Result of a consumer operation.
Definition: DisruptorTypes.h:63
Binary layout for a transaction.
Definition: Transaction.h:32