| ClusterEventCurrentClusterStateRoleLeader Method |
Get address of current leader, if any, within the role set
Namespace:
Akka.Cluster
Assembly:
Akka.Cluster (in Akka.Cluster.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public Address RoleLeader(
string role
)
member RoleLeader :
role : string -> Address
Parameters
- role
- Type: SystemString
The role we wish to check.
Return Value
Type:
AddressThe address of the node who is the real leader, if any. Otherwise
null.
See Also