Interface RetrySettings.IJitter
Provides a mechanism for applying jitter to delays between retries. See the DelayJitter property for more information.
Namespace: Google.Api.Gax.Grpc
Assembly: Google.Api.Gax.Grpc.dll
Syntax
public interface IJitter
Methods
GetDelay(TimeSpan)
Returns the actual delay to use given a maximum available delay.
Declaration
TimeSpan GetDelay(TimeSpan maxDelay)
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | maxDelay | The maximum delay provided by the backoff settings |
Returns
| Type | Description |
|---|---|
| System.TimeSpan | The delay to use before retrying. |