Show / Hide Table of Contents

Class ElectionTimeoutExtensions

Represents extension methods for ElectionTimeout value type.

Inheritance
Object
ElectionTimeoutExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public static class ElectionTimeoutExtensions

Methods

| Improve this Doc View Source

Update(ref ElectionTimeout, Nullable<Int32>, Nullable<Int32>)

Updates boundaries of the timeout.

Declaration
public static void Update(this ref ElectionTimeout timeout, int? lowerValue, int? upperValue)
Parameters
Type Name Description
ElectionTimeout timeout

The election timeout to update.

Nullable<Int32> lowerValue

The lower possible value of leader election timeout, in milliseconds.

Nullable<Int32> upperValue

The upper possible value of leader election timeout, in milliseconds.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX