Show / Hide Table of Contents

Class PeerConfiguration

Represents configuration of the peer powered by HyParView membership protocol.

Inheritance
object
PeerConfiguration
HttpPeerConfiguration
Implements
IPeerConfiguration
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.Discovery.HyParView
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
public class PeerConfiguration : IPeerConfiguration

Properties

| Edit this page View Source

ActiveRandomWalkLength

Gets or sets the maximum number of hops a ForwardJoin request is propagated.

Declaration
public int ActiveRandomWalkLength { get; set; }
Property Value
Type Description
int
| Edit this page View Source

ActiveViewCapacity

Gets or sets the capacity of active view representing resolved peers.

Declaration
public int ActiveViewCapacity { get; set; }
Property Value
Type Description
int
| Edit this page View Source

LowerShufflePeriod

Gets lower bound of randomly selected shuffle period.

Declaration
public int LowerShufflePeriod { get; set; }
Property Value
Type Description
int
| Edit this page View Source

PassiveRandomWalkLength

Gets or sets the value specifies at which point in the walk the peer is inserted into passive view.

Declaration
public int PassiveRandomWalkLength { get; set; }
Property Value
Type Description
int
| Edit this page View Source

PassiveViewCapacity

Gets or sets the capacity of backlog for peers.

Declaration
public int PassiveViewCapacity { get; set; }
Property Value
Type Description
int
| Edit this page View Source

QueueCapacity

Gets or sets the capacity of internal queue used to process messages.

Declaration
public int QueueCapacity { get; set; }
Property Value
Type Description
int
| Edit this page View Source

ShuffleActiveViewCount

Gets or sets the number of peers from active view to be included into Shuffle message.

Declaration
public int ShuffleActiveViewCount { get; set; }
Property Value
Type Description
int
| Edit this page View Source

ShufflePassiveViewCount

Gets or sets the number of peers from passive view to be included into Shuffle message.

Declaration
public int ShufflePassiveViewCount { get; set; }
Property Value
Type Description
int
| Edit this page View Source

ShuffleRandomWalkLength

Gets or sets the maximum number of hops a Shuffle message is propagated.

Declaration
public int ShuffleRandomWalkLength { get; set; }
Property Value
Type Description
int
| Edit this page View Source

UpperShufflePeriod

Gets upper bound of randomly selected shuffle period.

Declaration
public int UpperShufflePeriod { get; set; }
Property Value
Type Description
int

Implements

IPeerConfiguration

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.GetUserData<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
ExpressionBuilder.Const<T>(T)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan, CancellationToken)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾