Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.tenacity.wait.wait_exponential_jitter Class Reference
Inheritance diagram for pip._vendor.tenacity.wait.wait_exponential_jitter:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.tenacity.wait.wait_exponential_jitter:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, float initial=1, float max=_utils.MAX_WAIT, float exp_base=2, float jitter=1)
 
float __call__ (self, "RetryCallState" retry_state)
 
- Public Member Functions inherited from pip._vendor.tenacity.wait.wait_base
"wait_combine" __add__ (self, "wait_base" other)
 
typing.Union["wait_combine", "wait_base"] __radd__ (self, "wait_base" other)
 

Public Attributes

 initial
 
 max
 
 exp_base
 
 jitter
 

Detailed Description

Wait strategy that applies exponential backoff and jitter.

It allows for a customized initial wait, maximum wait and jitter.

This implements the strategy described here:
https://cloud.google.com/storage/docs/retry-strategy

The wait time is min(initial * 2**n + random.uniform(0, jitter), maximum)
where n is the retry count.

Member Function Documentation

◆ __call__()

float pip._vendor.tenacity.wait.wait_exponential_jitter.__call__ (   self,
"RetryCallState"  retry_state 
)

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