Class RpcRetryOptions
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Retry options that can be set at the connection level to apply on calls that are retried.
public class RpcRetryOptions : ICloneable
- Inheritance
-
RpcRetryOptions
- Implements
- Inherited Members
Properties
InitialInterval
Gets or sets the initial retry interval. Default is 100ms.
public TimeSpan InitialInterval { get; set; }
Property Value
MaxElapsedTime
Gets or sets the max elapsed time (or null for none). Default is 10s.
public TimeSpan? MaxElapsedTime { get; set; }
Property Value
MaxInterval
Gets or sets the max interval. Default is 5s.
public TimeSpan MaxInterval { get; set; }
Property Value
MaxRetries
Gets or sets the max retries. Default is 10.
public int MaxRetries { get; set; }
Property Value
Multiplier
Gets or sets the multiplier. Default is 1.5.
public float Multiplier { get; set; }
Property Value
RandomizationFactor
Gets or sets the randomization factor. Default is 0.2.
public float RandomizationFactor { get; set; }
Property Value
Methods
Clone()
Create a shallow copy of these options.
public virtual object Clone()
Returns
- object
A shallow copy of these options.