C# Class Akka.Cluster.ClusterEvent.CurrentClusterState

显示文件 Open project: rogeralsing/akka.net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Copy ( ImmutableSortedSet members = null, ImmutableHashSet unreachable = null, ImmutableHashSet
seenBy = null, Akka.Actor.Address leader = null, Address>.ImmutableDictionary roleLeaderMap = null ) : CurrentClusterState

Creates a deep copy of the CurrentClusterState and optionally allows you to specify different values for the outgoing objects

CurrentClusterState ( ) : System
CurrentClusterState ( ImmutableSortedSet members, ImmutableHashSet unreachable, ImmutableHashSet
seenBy, Akka.Actor.Address leader, Address>.ImmutableDictionary roleLeaderMap ) : System
RoleLeader ( string role ) : Akka.Actor.Address

Get address of current leader, if any, within the role set

Method Details

Copy() public method

Creates a deep copy of the CurrentClusterState and optionally allows you to specify different values for the outgoing objects
public Copy ( ImmutableSortedSet members = null, ImmutableHashSet unreachable = null, ImmutableHashSet
seenBy = null, Akka.Actor.Address leader = null, Address>.ImmutableDictionary roleLeaderMap = null ) : CurrentClusterState
members ImmutableSortedSet
unreachable ImmutableHashSet
seenBy ImmutableHashSet
leader Akka.Actor.Address
roleLeaderMap Address>.ImmutableDictionary
return CurrentClusterState

CurrentClusterState() public method

public CurrentClusterState ( ) : System
return System

CurrentClusterState() public method

public CurrentClusterState ( ImmutableSortedSet members, ImmutableHashSet unreachable, ImmutableHashSet
seenBy, Akka.Actor.Address leader, Address>.ImmutableDictionary roleLeaderMap ) : System
members ImmutableSortedSet
unreachable ImmutableHashSet
seenBy ImmutableHashSet
leader Akka.Actor.Address
roleLeaderMap Address>.ImmutableDictionary
return System

RoleLeader() public method

Get address of current leader, if any, within the role set
public RoleLeader ( string role ) : Akka.Actor.Address
role string
return Akka.Actor.Address