CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace sync {
struct TasksConfiguration; } }
26 namespace catapult {
namespace sync {
Tasks configuration settings.
Definition: TasksConfiguration.h:90
Requires all tasks to be registered.
DelayGenerator CreateUniformDelayGenerator(const utils::TimeSpan &delay)
Creates a uniform delay generator that always returns delay.
Definition: Task.cpp:26
DECLARE_SERVICE_REGISTRAR() Scheduler(const TasksConfiguration &config)
Definition: SchedulerService.cpp:86
def info(*args)
Definition: forwardsValidation.py:12
#define CATAPULT_THROW_INVALID_ARGUMENT_1(MESSAGE, PARAM1)
Macro used to throw a catapult invalid argument with a single parameter.
Definition: exceptions.h:183
TasksConfiguration m_config
Definition: SchedulerService.cpp:82
A task that is scheduled with constant intervals.
DelayGenerator CreateIncreasingDelayGenerator(const utils::TimeSpan &minDelay, uint32_t numPhaseOneRounds, const utils::TimeSpan &maxDelay, uint32_t numTransitionRounds)
Definition: Task.cpp:30
Definition: AddressExtractionExtension.cpp:28
#define DECLARE_SERVICE_REGISTRAR(NAME)
Declares a service registrar entry point with NAME.
Definition: ServiceRegistrar.h:61
std::shared_ptr< Scheduler > CreateScheduler(const std::shared_ptr< IoThreadPool > &pPool)
Creates a scheduler around the specified thread pool (pPool).
Definition: Scheduler.cpp:213