Interface RetrySettings.IJitter (4.0.0)

public interface IJitter

Provides a mechanism for applying jitter to delays between retries. See the BackoffJitter property for more information.

Namespace

Google.Api.Gax.Grpc

Assembly

Google.Api.Gax.Grpc.dll

Methods

GetDelay(TimeSpan)

TimeSpan GetDelay(TimeSpan maxDelay)

Returns the actual delay to use given a maximum available delay.

Parameter
NameDescription
maxDelayTimeSpan

The maximum delay provided by the backoff settings

Returns
TypeDescription
TimeSpan

The delay to use before retrying.