ConnectionIssue Class

Definition

Represents information about connection issues encountered inside log consistency protocols. It is used both inside the protocol to track retry loops, and is made visible to users who want to monitor their log-consistent grains for communication issues.

[Orleans.GenerateSerializer]
[System.Serializable]
public abstract class ConnectionIssue
[<Orleans.GenerateSerializer>]
[<System.Serializable>]
type ConnectionIssue = class
Public MustInherit Class ConnectionIssue
Inheritance
ConnectionIssue
Derived
Attributes

Constructors

ConnectionIssue()

Properties

NumberOfConsecutiveFailures

The number of times we have observed this issue since the first failure

RetryDelay

The delay we are waiting before the next retry

TimeOfFirstFailure

The UTC timestamp of the first time we observed this issue

TimeStamp

The UTC timestamp of the last time at which the issue was observed

Methods

ComputeRetryDelay(Nullable<TimeSpan>)

Computes the retry delay based on the rest of the information. Is overridden by subclasses that represent specific categories of issues.

Applies to