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
| Improve this Doc 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
| Improve this Doc 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 |
---|---|
Boolean |
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 |
---|---|
Nullable<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 |
---|---|
Boolean |
LogInfoVerbose
Determine whether to log verbose InfoLevel messages for temporary troubleshooting.
Declaration
public bool LogInfoVerbose { get; }
Property Value
Type | Description |
---|---|
Boolean |
MinNrOfMembers
TBD
Declaration
public int MinNrOfMembers { get; }
Property Value
Type | Description |
---|---|
Int32 |
MinNrOfMembersOfRole
TBD
Declaration
public ImmutableDictionary<string, int> MinNrOfMembersOfRole { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableDictionary<String, Int32> |
MonitoredByNrOfMembers
TBD
Declaration
public int MonitoredByNrOfMembers { get; }
Property Value
Type | Description |
---|---|
Int32 |
PeriodicTasksInitialDelay
TBD
Declaration
public TimeSpan PeriodicTasksInitialDelay { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
PublishStatsInterval
TBD
Declaration
public TimeSpan? PublishStatsInterval { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
ReduceGossipDifferentViewProbability
TBD
Declaration
public int ReduceGossipDifferentViewProbability { get; }
Property Value
Type | Description |
---|---|
Int32 |
RetryUnsuccessfulJoinAfter
TBD
Declaration
public TimeSpan? RetryUnsuccessfulJoinAfter { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
Roles
TBD
Declaration
public ImmutableHashSet<string> Roles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.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 |
---|---|
Boolean |
SchedulerTickDuration
TBD
Declaration
public TimeSpan SchedulerTickDuration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
SchedulerTicksPerWheel
TBD
Declaration
public int SchedulerTicksPerWheel { get; }
Property Value
Type | Description |
---|---|
Int32 |
SeedNodes
A list of designated seed nodes for the cluster.
Declaration
public ImmutableList<Address> SeedNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableList<Address> |
SeedNodeTimeout
TBD
Declaration
public TimeSpan SeedNodeTimeout { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
ShutdownAfterUnsuccessfulJoinSeedNodes
TBD
Declaration
public TimeSpan? ShutdownAfterUnsuccessfulJoinSeedNodes { get; }
Property Value
Type | Description |
---|---|
Nullable<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 |
---|---|
Boolean |
VerboseGossipReceivedLogging
Determines whether or not to log gossip consumption logging in verbose mode
Declaration
public bool VerboseGossipReceivedLogging { get; }
Property Value
Type | Description |
---|---|
Boolean |
VerboseHeartbeatLogging
Determine whether or not to log heartbeat message in verbose mode.
Declaration
public bool VerboseHeartbeatLogging { get; }
Property Value
Type | Description |
---|---|
Boolean |
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 |