backoffAlgorithm  v1.0.0
Algorithmic library for calculating retry intervals using exponential backoff and jitter.
BackoffAlgorithmContext Struct Reference

Represents parameters required for calculating the back-off delay for the next retry attempt. More...

#include <backoff_algorithm.h>

Data Fields

uint16_t maxBackoffDelay
 The maximum backoff delay (in milliseconds) between consecutive retry attempts.
 
uint32_t attemptsDone
 The total number of retry attempts completed. This value is incremented on every call to BackoffAlgorithm_GetNextBackoff API.
 
uint16_t nextJitterMax
 The maximum backoff value (in milliseconds) for the next retry attempt.
 
uint32_t maxRetryAttempts
 The maximum number of retry attempts.
 

Detailed Description

Represents parameters required for calculating the back-off delay for the next retry attempt.


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