CatapultServer
v0.5.0.1 (Elephant)
|
Result of a consumer operation. More...
Public Member Functions | |
constexpr | ConsumerResult () |
Creates a default result. More... | |
Static Public Member Functions | |
static constexpr ConsumerResult | Abort () |
Creates a consumer result indicating that processing should be aborted. More... | |
static constexpr ConsumerResult | Abort (disruptor::CompletionCode code) |
Creates a consumer result indicating that processing should be aborted with the specified code. More... | |
static constexpr ConsumerResult | Continue () |
Creates a consumer result indicating that processing should continue. More... | |
static constexpr ConsumerResult | Complete (disruptor::CompletionCode code) |
Creates a consumer result indicating that processing has completed with the specified code. More... | |
Public Attributes | |
disruptor::CompletionStatus | CompletionStatus |
Completion status. More... | |
disruptor::CompletionCode | CompletionCode |
Optional code that can provide additional consumer completion information. More... | |
Private Member Functions | |
constexpr | ConsumerResult (disruptor::CompletionStatus status, disruptor::CompletionCode code) |
Result of a consumer operation.
|
inlineconstexpr |
Creates a default result.
|
inlineconstexprprivate |
|
inlinestaticconstexpr |
Creates a consumer result indicating that processing should be aborted.
|
inlinestaticconstexpr |
Creates a consumer result indicating that processing should be aborted with the specified code.
|
inlinestaticconstexpr |
Creates a consumer result indicating that processing has completed with the specified code.
|
inlinestaticconstexpr |
Creates a consumer result indicating that processing should continue.
disruptor::CompletionCode catapult::disruptor::ConsumerResult::CompletionCode |
Optional code that can provide additional consumer completion information.
disruptor::CompletionStatus catapult::disruptor::ConsumerResult::CompletionStatus |
Completion status.