| ClusterSingletonProxySettingsWithRole Method |
Creates a new
ClusterSingletonProxySettings setting with the specified
role
from the
akka.cluster.role in the configuration used. The
role specifies the nodes
on which the targeted singleton can run.
Note |
---|
This method is immutable and returns a new instance of the setting.
|
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 WithRole(
string role
)
member WithRole :
role : string -> ClusterSingletonProxySettings
Parameters
- role
- Type: SystemString
The role of the singleton proxy.
Return Value
Type:
ClusterSingletonProxySettingsA new setting with the provided
role.
See Also