Interface IBackoffCalculator
Namespace: Couchbase.Core.Retry
Assembly: Couchbase.NetClient.dll
Syntax
public interface IBackoffCalculator
Methods
| Edit this page View SourceCalculateBackoff(IRequest)
Declaration
TimeSpan CalculateBackoff(IRequest request)
Parameters
Type | Name | Description |
---|---|---|
IRequest | request |
Returns
Type | Description |
---|---|
TimeSpan |
Delay(IRequest)
Declaration
Task Delay(IRequest request)
Parameters
Type | Name | Description |
---|---|---|
IRequest | request |
Returns
Type | Description |
---|---|
Task |