Class ClusterSettings
This class represents configuration information used when setting up a cluster.
Inherited Members
Namespace: Akka.Cluster
Assembly: Akka.Cluster.dll
Syntax
public sealed class ClusterSettings
Constructors
| Edit this page View SourceClusterSettings(Config, string)
Initializes a new instance of the ClusterSettings class.
Declaration
public ClusterSettings(Config config, string systemName)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config | The configuration to use when setting up the cluster. |
| string | systemName | The name of the actor system hosting the cluster. |
Properties
| Edit this page View SourceAllowWeaklyUpMembers
If this is set to "off", the leader will not move Joining members to Up during a network split. This feature allows the leader to accept Joining members to be WeaklyUp so they become part of the cluster even during a network split.
The leader will move WeaklyUp members to Up status once convergence has been reached.
Declaration
public bool AllowWeaklyUpMembers { get; }
Property Value
| Type | Description |
|---|---|
| bool |
AppVersion
Application version
Declaration
public AppVersion AppVersion { get; }
Property Value
| Type | Description |
|---|---|
| AppVersion |
AutoDownUnreachableAfter
Obsolete. No longer used as of Akka.NET v1.5.
Declaration
[Obsolete("Deprecated as of Akka.NET v1.5.2 - clustering defaults to using KeepMajority SBR instead")]
public TimeSpan? AutoDownUnreachableAfter { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
DowningProviderType
TBD
Declaration
public Type DowningProviderType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
FailureDetectorConfig
The configuration for the underlying failure detector used by Akka.Cluster.
Declaration
public Config FailureDetectorConfig { get; }
Property Value
| Type | Description |
|---|---|
| Config |
FailureDetectorImplementationClass
The fully qualified type name of the failure detector class that will be used.
Declaration
public string FailureDetectorImplementationClass { get; }
Property Value
| Type | Description |
|---|---|
| string |
GossipDifferentViewProbability
TBD
Declaration
public double GossipDifferentViewProbability { get; }
Property Value
| Type | Description |
|---|---|
| double |
GossipInterval
The amount of time between when gossip messages are sent.
Declaration
public TimeSpan GossipInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
GossipTimeToLive
TBD
Declaration
public TimeSpan GossipTimeToLive { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
HeartbeatExpectedResponseAfter
The amount of time we expect a heartbeat response after first contact with a new node.
Declaration
public TimeSpan HeartbeatExpectedResponseAfter { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
HeartbeatInterval
The amount of time between when heartbeat messages are sent.
Declaration
public TimeSpan HeartbeatInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
LeaderActionsInterval
TBD
Declaration
public TimeSpan LeaderActionsInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
LogInfo
Determine whether to log InfoLevel messages.
Declaration
public bool LogInfo { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LogInfoVerbose
Determine whether to log verbose InfoLevel messages for temporary troubleshooting.
Declaration
public bool LogInfoVerbose { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MinNrOfMembers
TBD
Declaration
public int MinNrOfMembers { get; }
Property Value
| Type | Description |
|---|---|
| int |
MinNrOfMembersOfRole
TBD
Declaration
public ImmutableDictionary<string, int> MinNrOfMembersOfRole { get; }
Property Value
| Type | Description |
|---|---|
| ImmutableDictionary<string, int> |
MonitoredByNrOfMembers
TBD
Declaration
public int MonitoredByNrOfMembers { get; }
Property Value
| Type | Description |
|---|---|
| int |
PeriodicTasksInitialDelay
TBD
Declaration
public TimeSpan PeriodicTasksInitialDelay { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
PublishStatsInterval
TBD
Declaration
public TimeSpan? PublishStatsInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
ReduceGossipDifferentViewProbability
TBD
Declaration
public int ReduceGossipDifferentViewProbability { get; }
Property Value
| Type | Description |
|---|---|
| int |
RetryUnsuccessfulJoinAfter
TBD
Declaration
public TimeSpan? RetryUnsuccessfulJoinAfter { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
Roles
TBD
Declaration
public ImmutableHashSet<string> Roles { get; }
Property Value
| Type | Description |
|---|---|
| ImmutableHashSet<string> |
RunCoordinatedShutdownWhenDown
Trigger the CoordinatedShutdown even if this node was removed by non-graceful means, such as being downed.
Declaration
public bool RunCoordinatedShutdownWhenDown { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SchedulerTickDuration
TBD
Declaration
public TimeSpan SchedulerTickDuration { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
SchedulerTicksPerWheel
TBD
Declaration
public int SchedulerTicksPerWheel { get; }
Property Value
| Type | Description |
|---|---|
| int |
SeedNodeTimeout
TBD
Declaration
public TimeSpan SeedNodeTimeout { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
SeedNodes
A list of designated seed nodes for the cluster.
Declaration
public ImmutableList<Address> SeedNodes { get; }
Property Value
| Type | Description |
|---|---|
| ImmutableList<Address> |
ShutdownAfterUnsuccessfulJoinSeedNodes
TBD
Declaration
public TimeSpan? ShutdownAfterUnsuccessfulJoinSeedNodes { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
UnreachableNodesReaperInterval
TBD
Declaration
public TimeSpan UnreachableNodesReaperInterval { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
UseDispatcher
TBD
Declaration
public string UseDispatcher { get; }
Property Value
| Type | Description |
|---|---|
| string |
UseLegacyHeartbeatMessage
Enable/disable legacy pre-1.4.19 Akka.Cluster.ClusterHeartbeatSender.Heartbeat and Akka.Cluster.ClusterHeartbeatSender.HeartbeatRsp wire format serialization support. Set this to true if you're doing a rolling update from Akka.NET version older than 1.4.19.
Declaration
public bool UseLegacyHeartbeatMessage { get; }
Property Value
| Type | Description |
|---|---|
| bool |
VerboseGossipReceivedLogging
Determines whether or not to log gossip consumption logging in verbose mode
Declaration
public bool VerboseGossipReceivedLogging { get; }
Property Value
| Type | Description |
|---|---|
| bool |
VerboseHeartbeatLogging
Determine whether or not to log heartbeat message in verbose mode.
Declaration
public bool VerboseHeartbeatLogging { get; }
Property Value
| Type | Description |
|---|---|
| bool |
WeaklyUpAfter
The duration after which a member who is currently Joining will be marked as WeaklyUp in the event that members of the cluster are currently unreachable.
This is designed to allow new cluster members to perform work even in the event of a cluster split.
The leader will move WeaklyUp members to Up status once convergence has been reached.
Declaration
public TimeSpan WeaklyUpAfter { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Edit this page