CatapultServer  v0.5.0.1 (Elephant)
catapult::sync::DeceleratingTaskConfiguration Struct Reference

Decelerating task configuration settings. More...

Collaboration diagram for catapult::sync::DeceleratingTaskConfiguration:

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
 

Detailed Description

Decelerating task configuration settings.

Constructor & Destructor Documentation

◆ DeceleratingTaskConfiguration()

catapult::sync::DeceleratingTaskConfiguration::DeceleratingTaskConfiguration ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ LoadFromBag()

DeceleratingTaskConfiguration catapult::sync::DeceleratingTaskConfiguration::LoadFromBag ( const utils::ConfigurationBag bag)
static

Loads a task configuration from bag.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Uninitialized()

DeceleratingTaskConfiguration catapult::sync::DeceleratingTaskConfiguration::Uninitialized ( )
static

Creates an uninitialized task configuration.

Here is the call graph for this function:

Member Data Documentation

◆ MaxDelay

utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::MaxDelay

Maximum delay between task executions.

◆ MinDelay

utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::MinDelay

Minimum delay between task executions.

◆ NumPhaseOneRounds

uint32_t catapult::sync::DeceleratingTaskConfiguration::NumPhaseOneRounds

Number of rounds before deceleration starts.

◆ NumTransitionRounds

uint32_t catapult::sync::DeceleratingTaskConfiguration::NumTransitionRounds

Number of transition rounds from minimum to maximum delay.

◆ StartDelay

utils::TimeSpan catapult::sync::DeceleratingTaskConfiguration::StartDelay

Delay until the first execution of the task.


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