|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.cluster.ClusterEvent.CurrentClusterState
public static class ClusterEvent.CurrentClusterState
Current snapshot state of the cluster. Sent to new subscriber.
Constructor Summary | |
---|---|
ClusterEvent.CurrentClusterState(scala.collection.immutable.SortedSet<Member> members,
scala.collection.immutable.Set<Member> unreachable,
scala.collection.immutable.Set<Address> seenBy,
scala.Option<Address> leader,
scala.collection.immutable.Map<java.lang.String,scala.Option<Address>> roleLeaderMap)
|
Method Summary | |
---|---|
scala.collection.immutable.Set<java.lang.String> |
allRoles()
All node roles in the cluster |
java.util.Set<java.lang.String> |
getAllRoles()
Java API: All node roles in the cluster |
Address |
getLeader()
Java API: get address of current leader, or null if none |
java.lang.Iterable<Member> |
getMembers()
Java API: get current member list. |
Address |
getRoleLeader(java.lang.String role)
Java API: get address of current leader within the role set, or null if no node with that role |
java.util.Set<Address> |
getSeenBy()
Java API: get current “seen-by” set. |
java.util.Set<Member> |
getUnreachable()
Java API: get current unreachable set. |
scala.Option<Address> |
leader()
|
scala.collection.immutable.SortedSet<Member> |
members()
|
scala.Option<Address> |
roleLeader(java.lang.String role)
get address of current leader, if any, within the role set |
scala.collection.immutable.Map<java.lang.String,scala.Option<Address>> |
roleLeaderMap()
|
scala.collection.immutable.Set<Address> |
seenBy()
|
scala.collection.immutable.Set<Member> |
unreachable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
---|
canEqual, equals |
Constructor Detail |
---|
public ClusterEvent.CurrentClusterState(scala.collection.immutable.SortedSet<Member> members, scala.collection.immutable.Set<Member> unreachable, scala.collection.immutable.Set<Address> seenBy, scala.Option<Address> leader, scala.collection.immutable.Map<java.lang.String,scala.Option<Address>> roleLeaderMap)
Method Detail |
---|
public scala.collection.immutable.SortedSet<Member> members()
public scala.collection.immutable.Set<Member> unreachable()
public scala.collection.immutable.Set<Address> seenBy()
public scala.Option<Address> leader()
public scala.collection.immutable.Map<java.lang.String,scala.Option<Address>> roleLeaderMap()
public java.lang.Iterable<Member> getMembers()
public java.util.Set<Member> getUnreachable()
public java.util.Set<Address> getSeenBy()
public Address getLeader()
public scala.collection.immutable.Set<java.lang.String> allRoles()
public java.util.Set<java.lang.String> getAllRoles()
public scala.Option<Address> roleLeader(java.lang.String role)
role
- (undocumented)
public Address getRoleLeader(java.lang.String role)
role
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |