Table of Contents

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

TimeSpan

MaxElapsedTime

Gets or sets the max elapsed time (or null for none). Default is 10s.

public TimeSpan? MaxElapsedTime { get; set; }

Property Value

TimeSpan?

MaxInterval

Gets or sets the max interval. Default is 5s.

public TimeSpan MaxInterval { get; set; }

Property Value

TimeSpan

MaxRetries

Gets or sets the max retries. Default is 10.

public int MaxRetries { get; set; }

Property Value

int

Multiplier

Gets or sets the multiplier. Default is 1.5.

public float Multiplier { get; set; }

Property Value

float

RandomizationFactor

Gets or sets the randomization factor. Default is 0.2.

public float RandomizationFactor { get; set; }

Property Value

float

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.