Struct ControlledBackoff
Implements
Inherited Members
Namespace: Couchbase.Core.Retry
Assembly: Couchbase.NetClient.dll
Syntax
public readonly struct ControlledBackoff : IBackoffCalculator
Methods
| Edit this page View SourceCalculateBackoff(IRequest)
Declaration
public TimeSpan CalculateBackoff(IRequest request)
Parameters
Type | Name | Description |
---|---|---|
IRequest | request |
Returns
Type | Description |
---|---|
TimeSpan |
Create()
Declaration
public static ControlledBackoff Create()
Returns
Type | Description |
---|---|
ControlledBackoff |
Delay(IRequest)
Declaration
public Task Delay(IRequest request)
Parameters
Type | Name | Description |
---|---|---|
IRequest | request |
Returns
Type | Description |
---|---|
Task |