Class RpcRetryOptions
Retry options that can be set at the connection level to apply on calls that are retried.
Namespace: Temporalio.Client
Assembly: Temporalio.dll
Syntax
public class RpcRetryOptions : ICloneable
Properties
InitialInterval
Gets or sets the initial retry interval.
Declaration
public TimeSpan InitialInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
MaxElapsedTime
Gets or sets the max elapsed time.
Declaration
public TimeSpan? MaxElapsedTime { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
MaxInterval
Gets or sets the max interval.
Declaration
public TimeSpan MaxInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
MaxRetries
Gets or sets the max retries.
Declaration
public int MaxRetries { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Multiplier
Gets or sets the multiplier.
Declaration
public float Multiplier { get; set; }
Property Value
Type | Description |
---|---|
Single |
RandomizationFactor
Gets or sets the randomization factor.
Declaration
public float RandomizationFactor { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
Clone()
Create a shallow copy of these options.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
Object | A shallow copy of these options. |