CatapultServer
v0.5.0.1 (Elephant)
|
Consumer dispatcher options. More...
Public Member Functions | |
constexpr | ConsumerDispatcherOptions (const char *dispatcherName, size_t disruptorSize) |
Creates options around dispatcherName and disruptorSize. More... | |
Public Attributes | |
const char * | DispatcherName |
Name of the dispatcher. More... | |
size_t | DisruptorSize |
Disruptor size. More... | |
size_t | ElementTraceInterval |
Multiple of elements at which an element should be traced through queue and completion. More... | |
bool | ShouldThrowWhenFull |
true if the dispatcher should throw when full, false if it should return an error. More... | |
Consumer dispatcher options.
|
inlineconstexpr |
Creates options around dispatcherName and disruptorSize.
const char* catapult::disruptor::ConsumerDispatcherOptions::DispatcherName |
Name of the dispatcher.
size_t catapult::disruptor::ConsumerDispatcherOptions::DisruptorSize |
Disruptor size.
size_t catapult::disruptor::ConsumerDispatcherOptions::ElementTraceInterval |
Multiple of elements at which an element should be traced through queue and completion.
bool catapult::disruptor::ConsumerDispatcherOptions::ShouldThrowWhenFull |
true
if the dispatcher should throw when full, false
if it should return an error.