PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.IBackoffStrategy Interface Reference

Describes a service which backs off (ie, waits) according to the retry attempt number. More...

Inheritance diagram for PeanutButter.Utils.IBackoffStrategy:
PeanutButter.Utils.ConstantTimeBackoffStrategy PeanutButter.Utils.DefaultBackoffStrategy

Public Member Functions

void Backoff (int attempt)
 Waits for an amount of time relevant to the attempt.
 

Detailed Description

Describes a service which backs off (ie, waits) according to the retry attempt number.

Member Function Documentation

◆ Backoff()

void PeanutButter.Utils.IBackoffStrategy.Backoff ( int  attempt)

Waits for an amount of time relevant to the attempt.

Parameters
attempt

Implemented in PeanutButter.Utils.DefaultBackoffStrategy, and PeanutButter.Utils.ConstantTimeBackoffStrategy.


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