UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FHttpRetrySystem::FExponentialBackoffCurve Struct Reference

#include <HttpRetrySystem.h>

Public Member Functions

HTTP_API bool IsValid () const
 
HTTP_API float Compute (uint32 RetryNumber) const
 

Public Attributes

float Base = 2.0f
 
float ExponentBias = 1.0f
 
float MinCoefficient = 0.5f
 
float MaxCoefficient = 1.0f
 
float MaxBackoffSeconds = 60.0f
 

Detailed Description

Model for computing exponential backoff using the formula: Base**(CurrentRetryAttempt + Bias) Then applying jitter to the backoff. Jitter application is performed by selecting a random value in the [Min, Max] range and multiplying it against the computed backoff. Half jitter can be implemented using { 0.5, 1.0 }, which becomes Backoff' = Backoff * Rand(0.5, 1.0) = Backoff/2 + Rand(0, Backoff/2) Full jitter can be implemented using { 0.0, 1.0 }, which becomes Backoff' = Backoff * Rand(0.0, 1.0) = Rand(0.0, Backoff) No jitter can be implemented using { 0.0, 0.0 } or any pair that where Min > Max. Backoff' = Backoff

Member Function Documentation

◆ Compute()

float FHttpRetrySystem::FExponentialBackoffCurve::Compute ( uint32  RetryNumber) const

◆ IsValid()

bool FHttpRetrySystem::FExponentialBackoffCurve::IsValid ( ) const

Member Data Documentation

◆ Base

float FHttpRetrySystem::FExponentialBackoffCurve::Base = 2.0f

Exponential backoff base

◆ ExponentBias

float FHttpRetrySystem::FExponentialBackoffCurve::ExponentBias = 1.0f

Exponential backoff bias added to the current retry number

◆ MaxBackoffSeconds

float FHttpRetrySystem::FExponentialBackoffCurve::MaxBackoffSeconds = 60.0f

Max back off seconds

◆ MaxCoefficient

float FHttpRetrySystem::FExponentialBackoffCurve::MaxCoefficient = 1.0f

Exponential backoff jitter coefficient maximum value. Defaults to half jitter

◆ MinCoefficient

float FHttpRetrySystem::FExponentialBackoffCurve::MinCoefficient = 0.5f

Exponential backoff jitter coefficient minimum value. Defaults to half jitter


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