Click or drag to resize
Akka.NETClusterSingletonProxySettings Constructor
Creates new instance of the ClusterSingletonProxySettings.

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 ClusterSingletonProxySettings(
	string singletonName,
	string role,
	TimeSpan singletonIdentificationInterval,
	int bufferSize
)

Parameters

singletonName
Type: SystemString
The actor name of the singleton actor that is started by the ClusterSingletonManager.
role
Type: SystemString
The role of the cluster nodes where the singleton can be deployed. If None, then any node will do.
singletonIdentificationInterval
Type: SystemTimeSpan
Interval at which the proxy will try to resolve the singleton instance.
bufferSize
Type: SystemInt32
If the location of the singleton is unknown the proxy will buffer this number of messages and deliver them when the singleton is identified.When the buffer is full old messages will be dropped when new messages are sent via the proxy. Use 0 to disable buffering, i.e.messages will be dropped immediately if the location of the singleton is unknown.
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when either the specified singletonIdentificationInterval or bufferSize is less than or equal to zero.
ArgumentNullException
See Also