|
|||||||||
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)
|
Method Summary | |
---|---|
Address |
getLeader()
Java API: get address of current leader, or null if none |
java.lang.Iterable<Member> |
getMembers()
Java API: get current member list. |
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.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)
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 java.lang.Iterable<Member> getMembers()
public java.util.Set<Member> getUnreachable()
public java.util.Set<Address> getSeenBy()
public Address getLeader()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |