CatapultServer
v0.5.0.1 (Elephant)
|
Decelerating task configuration settings. More...
Static Public Member Functions | |
static DeceleratingTaskConfiguration | Uninitialized () |
Creates an uninitialized task configuration. More... | |
static DeceleratingTaskConfiguration | LoadFromBag (const utils::ConfigurationBag &bag) |
Loads a task configuration from bag. More... | |
Public Attributes | |
utils::TimeSpan | StartDelay |
Delay until the first execution of the task. More... | |
utils::TimeSpan | MinDelay |
Minimum delay between task executions. More... | |
utils::TimeSpan | MaxDelay |
Maximum delay between task executions. More... | |
uint32_t | NumPhaseOneRounds |
Number of rounds before deceleration starts. More... | |
uint32_t | NumTransitionRounds |
Number of transition rounds from minimum to maximum delay. More... | |
Private Member Functions | |
DeceleratingTaskConfiguration ()=default | |
Decelerating task configuration settings.
|
privatedefault |
|
static |
Loads a task configuration from bag.
|
static |
Creates an uninitialized task configuration.
utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::MaxDelay |
Maximum delay between task executions.
utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::MinDelay |
Minimum delay between task executions.
uint32_t catapult::sync::DeceleratingTaskConfiguration::NumPhaseOneRounds |
Number of rounds before deceleration starts.
uint32_t catapult::sync::DeceleratingTaskConfiguration::NumTransitionRounds |
Number of transition rounds from minimum to maximum delay.
utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::StartDelay |
Delay until the first execution of the task.