Click or drag to resize
Akka.NETClusterSingletonManagerSettings Constructor
Creates a new instance of the ClusterSingletonManagerSettings.

Namespace:  Akka.Cluster.Tools.Singleton
Assembly:  Akka.Cluster.Tools (in Akka.Cluster.Tools.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public ClusterSingletonManagerSettings(
	string singletonName,
	string role,
	TimeSpan removalMargin,
	TimeSpan handOverRetryInterval
)

Parameters

singletonName
Type: SystemString
The actor name of the child singleton actor.
role
Type: SystemString
Singleton among the nodes tagged with specified role. If the role is not specified it's a singleton among all nodes in the cluster.
removalMargin
Type: SystemTimeSpan
Margin until the singleton instance that belonged to a downed/removed partition is created in surviving partition. The purpose of this margin is that in case of a network partition the singleton actors in the non-surviving partitions must be stopped before corresponding actors are started somewhere else. This is especially important for persistent actors.
handOverRetryInterval
Type: SystemTimeSpan
When a node is becoming oldest it sends hand-over request to previous oldest, that might be leaving the cluster. This is retried with this interval until the previous oldest confirms that the hand over has started or the previous oldest member is removed from the cluster (+ removalMargin).
Exceptions
ExceptionCondition
ArgumentExceptionTBD
See Also