Show / Hide Table of Contents

Interface IPeerConfiguration

Represents configuration of the HyParView peer.

Namespace: DotNext.Net.Cluster.Discovery.HyParView
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IPeerConfiguration

Properties

| Edit this page View Source

ActiveRandomWalkLength

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

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

ActiveViewCapacity

Gets the capacity of active view representing resolved peers.

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

EndPointComparer

Gets comparer for endpoint address.

Declaration
IEqualityComparer<EndPoint> EndPointComparer { get; }
Property Value
Type Description
IEqualityComparer<EndPoint>
| Edit this page View Source

PassiveRandomWalkLength

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

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

PassiveViewCapacity

Gets the capacity of backlog for peers.

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

QueueCapacity

Gets the capacity of internal queue used to process messages.

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

ShuffleActiveViewCount

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

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

ShufflePassiveViewCount

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

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

ShufflePeriod

Gets or sets shuffle period.

Declaration
TimeSpan? ShufflePeriod { get; }
Property Value
Type Description
TimeSpan?
Remarks

If null then EnqueueShuffleAsync(CancellationToken) must be called manually when needed.

| Edit this page View Source

ShuffleRandomWalkLength

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

Declaration
int ShuffleRandomWalkLength { get; }
Property Value
Type Description
int

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
☀
☾