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 Class Reference
Inheritance diagram for pip._vendor.tenacity.wait.wait_exponential:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.tenacity.wait.wait_exponential:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, typing.Union[int, float] multiplier=1, _utils.time_unit_type max=_utils.MAX_WAIT, typing.Union[int, float] exp_base=2, _utils.time_unit_type min=0)
 
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

 multiplier
 
 min
 
 max
 
 exp_base
 

Detailed Description

Wait strategy that applies exponential backoff.

It allows for a customized multiplier and an ability to restrict the
upper and lower limits to some maximum and minimum value.

The intervals are fixed (i.e. there is no jitter), so this strategy is
suitable for balancing retries against latency when a required resource is
unavailable for an unknown duration, but *not* suitable for resolving
contention between multiple processes for a shared resource. Use
wait_random_exponential for the latter case.

Member Function Documentation

◆ __call__()

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

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