class documentation

class _RetryDelayCalculator(object):

View In Hierarchy

Calculator for increasing delays.

Method __call__ Returns current delay and calculates the next one.
Method __init__ Initializes this class.
Class Variable __slots__ Undocumented
Instance Variable _factor Undocumented
Instance Variable _limit Undocumented
Instance Variable _next Undocumented
Instance Variable _start Undocumented
def __call__(self):

Returns current delay and calculates the next one.

def __init__(self, start, factor, limit):

Initializes this class.

Parameters
start:floatInitial delay
factor:floatFactor for delay increase
limit:float or NoneUpper limit for delay or None for no limit
__slots__: list[str] =

Undocumented

_factor =

Undocumented

_limit =

Undocumented

_next =

Undocumented

_start =

Undocumented