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 SourceActiveRandomWalkLength
Gets the maximum number of hops a ForwardJoin request is propagated.
Declaration
int ActiveRandomWalkLength { get; }
Property Value
Type | Description |
---|---|
int |
ActiveViewCapacity
Gets the capacity of active view representing resolved peers.
Declaration
int ActiveViewCapacity { get; }
Property Value
Type | Description |
---|---|
int |
EndPointComparer
Gets comparer for endpoint address.
Declaration
IEqualityComparer<EndPoint> EndPointComparer { get; }
Property Value
Type | Description |
---|---|
IEqualityComparer<EndPoint> |
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 |
PassiveViewCapacity
Gets the capacity of backlog for peers.
Declaration
int PassiveViewCapacity { get; }
Property Value
Type | Description |
---|---|
int |
QueueCapacity
Gets the capacity of internal queue used to process messages.
Declaration
int QueueCapacity { get; }
Property Value
Type | Description |
---|---|
int |
ShuffleActiveViewCount
Gets the number of peers from active view to be included into Shuffle message.
Declaration
int ShuffleActiveViewCount { get; }
Property Value
Type | Description |
---|---|
int |
ShufflePassiveViewCount
Gets the number of peers from passive view to be included into Shuffle message.
Declaration
int ShufflePassiveViewCount { get; }
Property Value
Type | Description |
---|---|
int |
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.
ShuffleRandomWalkLength
Gets the maximum number of hops a Shuffle message is propagated.
Declaration
int ShuffleRandomWalkLength { get; }
Property Value
Type | Description |
---|---|
int |