Class PeerConfiguration
Represents configuration of the peer powered by HyParView membership protocol.
Implements
Inherited Members
Namespace: DotNext.Net.Cluster.Discovery.HyParView
Assembly: DotNext.AspNetCore.Cluster.dll
Syntax
public class PeerConfiguration : IPeerConfiguration
Properties
| Edit this page View SourceActiveRandomWalkLength
Gets or sets the maximum number of hops a ForwardJoin request is propagated.
Declaration
public int ActiveRandomWalkLength { get; set; }
Property Value
Type | Description |
---|---|
int |
ActiveViewCapacity
Gets or sets the capacity of active view representing resolved peers.
Declaration
public int ActiveViewCapacity { get; set; }
Property Value
Type | Description |
---|---|
int |
LowerShufflePeriod
Gets lower bound of randomly selected shuffle period.
Declaration
public int LowerShufflePeriod { get; set; }
Property Value
Type | Description |
---|---|
int |
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 |
PassiveViewCapacity
Gets or sets the capacity of backlog for peers.
Declaration
public int PassiveViewCapacity { get; set; }
Property Value
Type | Description |
---|---|
int |
QueueCapacity
Gets or sets the capacity of internal queue used to process messages.
Declaration
public int QueueCapacity { get; set; }
Property Value
Type | Description |
---|---|
int |
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 |
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 |
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 |
UpperShufflePeriod
Gets upper bound of randomly selected shuffle period.
Declaration
public int UpperShufflePeriod { get; set; }
Property Value
Type | Description |
---|---|
int |