Class RetrySelection
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the retry-policy inputs resolved for a Cephalon app.
public sealed class RetrySelectionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”RetrySelection(bool?, int?, string?, int?, int?, bool?)
Section titled “ RetrySelection(bool?, int?, string?, int?, int?, bool?)”Initializes a new instance of the
[JsonConstructor]public RetrySelection(bool? enabled = null, int? maxAttempts = null, string? backoff = null, int? baseDelayMilliseconds = null, int? maxDelayMilliseconds = null, bool? useJitter = null)Parameters
Section titled “Parameters”enabled bool?
Whether retry support was explicitly enabled.
maxAttempts int?
The maximum retry attempts requested for the policy.
backoff string?
The requested backoff mode, such as Exponential or Linear.
baseDelayMilliseconds int?
The base delay in milliseconds used by the retry policy.
maxDelayMilliseconds int?
The maximum delay in milliseconds the retry policy may apply.
useJitter bool?
Whether jitter was explicitly requested for retry delays.
Properties
Section titled “Properties”Backoff
Section titled “ Backoff”Gets the requested backoff mode, such as Exponential or Linear.
public string? Backoff { get; }Property Value
Section titled “Property Value”BaseDelayMilliseconds
Section titled “ BaseDelayMilliseconds”Gets the base delay in milliseconds used by the retry policy.
public int? BaseDelayMilliseconds { get; }Property Value
Section titled “Property Value”int?
Gets an empty retry-selection instance.
public static RetrySelection Empty { get; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Gets a value indicating whether retry support was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any retry-selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”MaxAttempts
Section titled “ MaxAttempts”Gets the maximum retry attempts requested for the policy.
public int? MaxAttempts { get; }Property Value
Section titled “Property Value”int?
MaxDelayMilliseconds
Section titled “ MaxDelayMilliseconds”Gets the maximum delay in milliseconds the retry policy may apply.
public int? MaxDelayMilliseconds { get; }Property Value
Section titled “Property Value”int?
UseJitter
Section titled “ UseJitter”Gets a value indicating whether jitter was explicitly requested for retry delays.
public bool? UseJitter { get; }Property Value
Section titled “Property Value”bool?