CatapultServer  v0.5.0.1 (Elephant)
DispatcherUtils.h File Reference
Include dependency graph for DispatcherUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::config
 
 catapult::extensions
 
 catapult::subscribers
 

Typedefs

using catapult::extensions::TransactionBatchRangeDispatcher = disruptor::BatchRangeDispatcher< model::AnnotatedTransactionRange >
 A transaction batch range dispatcher. More...
 

Functions

consumers::HashCheckOptions catapult::extensions::CreateHashCheckOptions (const utils::TimeSpan &cacheDuration, const config::NodeConfiguration &nodeConfig)
 Creates hash check options based on cacheDuration and nodeConfig. More...
 
chain::FailedTransactionSink catapult::extensions::SubscriberToSink (subscribers::TransactionStatusSubscriber &subscriber)
 Converts subscriber to a sink. More...
 
void catapult::extensions::AddDispatcherCounters (ServiceLocator &locator, const std::string &dispatcherName, const std::string &counterPrefix)
 Adds dispatcher counters with prefix counterPrefix to locator for a dispatcher named dispatcherName. More...
 
thread::Task catapult::extensions::CreateBatchTransactionTask (TransactionBatchRangeDispatcher &dispatcher, const std::string &name)
 Creates a task with name that dispatches all transactions batched in dispatcher. More...