CatapultServer  v0.5.0.1 (Elephant)
catapult::disruptor::ConsumerDispatcherOptions Struct Reference

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...
 

Detailed Description

Consumer dispatcher options.

Constructor & Destructor Documentation

◆ ConsumerDispatcherOptions()

constexpr catapult::disruptor::ConsumerDispatcherOptions::ConsumerDispatcherOptions ( const char *  dispatcherName,
size_t  disruptorSize 
)
inlineconstexpr

Creates options around dispatcherName and disruptorSize.

Member Data Documentation

◆ DispatcherName

const char* catapult::disruptor::ConsumerDispatcherOptions::DispatcherName

Name of the dispatcher.

◆ DisruptorSize

size_t catapult::disruptor::ConsumerDispatcherOptions::DisruptorSize

Disruptor size.

◆ ElementTraceInterval

size_t catapult::disruptor::ConsumerDispatcherOptions::ElementTraceInterval

Multiple of elements at which an element should be traced through queue and completion.

◆ ShouldThrowWhenFull

bool catapult::disruptor::ConsumerDispatcherOptions::ShouldThrowWhenFull

true if the dispatcher should throw when full, false if it should return an error.


The documentation for this struct was generated from the following file: