Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
retry_policy.h File Reference

Retry policy with configurable strategies: fixed, linear, and exponential backoff. More...

#include <chrono>
#include <cstddef>
#include <algorithm>
#include <cmath>
#include <functional>
#include <limits>
#include <string>
Include dependency graph for retry_policy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::thread::retry_policy
 Encapsulates retry behavior configuration for jobs. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 

Enumerations

enum class  kcenon::thread::retry_strategy { kcenon::thread::none , kcenon::thread::fixed , kcenon::thread::linear , kcenon::thread::exponential_backoff }
 Defines the strategy for calculating delay between retry attempts. More...
 

Detailed Description

Retry policy with configurable strategies: fixed, linear, and exponential backoff.

See also
job For retry integration via composition

Definition in file retry_policy.h.