Class/Object

akka.cluster.ClusterEvent

CurrentClusterState

Related Docs: object CurrentClusterState | package ClusterEvent

Permalink

final class CurrentClusterState extends Product5[SortedSet[Member], Set[Member], Set[Address], Option[Address], Map[String, Option[Address]]] with Serializable

Current snapshot state of the cluster. Sent to new subscriber.

Annotations
@SerialVersionUID()
Source
ClusterEvent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrentClusterState
  2. Serializable
  3. Serializable
  4. Product5
  5. Product
  6. Equals
  7. AnyRef
  8. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CurrentClusterState(members: SortedSet[Member] = immutable.SortedSet.empty, unreachable: Set[Member] = Set.empty, seenBy: Set[Address] = Set.empty, leader: Option[Address] = None, roleLeaderMap: Map[String, Option[Address]] = Map.empty)

    Permalink
  2. new CurrentClusterState(members: SortedSet[Member], unreachable: Set[Member], seenBy: Set[Address], leader: Option[Address], roleLeaderMap: Map[String, Option[Address]], unreachableDataCenters: Set[DataCenter])

    Permalink

    leader

    leader of the data center of this node

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to any2stringadd[CurrentClusterState] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CurrentClusterState, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to ArrowAssoc[CurrentClusterState] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def _1: SortedSet[Member]

    Permalink
    Definition Classes
    CurrentClusterState → Product5
  7. def _2: Set[Member]

    Permalink
    Definition Classes
    CurrentClusterState → Product5
  8. def _3: Set[Address]

    Permalink
    Definition Classes
    CurrentClusterState → Product5
  9. def _4: Option[Address]

    Permalink
    Definition Classes
    CurrentClusterState → Product5
  10. def _5: Map[String, Option[Address]]

    Permalink
    Definition Classes
    CurrentClusterState → Product5
  11. def allDataCenters: Set[String]

    Permalink

    All data centers in the cluster

  12. def allRoles: Set[String]

    Permalink

    All node roles in the cluster

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    CurrentClusterState → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  16. def copy(members: SortedSet[Member] = this.members, unreachable: Set[Member] = this.unreachable, seenBy: Set[Address] = this.seenBy, leader: Option[Address] = this.leader, roleLeaderMap: Map[String, Option[Address]] = this.roleLeaderMap): CurrentClusterState

    Permalink
  17. def ensuring(cond: (CurrentClusterState) ⇒ Boolean, msg: ⇒ Any): CurrentClusterState

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to Ensuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (CurrentClusterState) ⇒ Boolean): CurrentClusterState

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to Ensuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): CurrentClusterState

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to Ensuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): CurrentClusterState

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to Ensuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    CurrentClusterState → Equals → AnyRef → Any
  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to StringFormat[CurrentClusterState] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def getAllDataCenters: Set[String]

    Permalink

    Java API: All data centers in the cluster

  25. def getAllRoles: Set[String]

    Permalink

    Java API: All node roles in the cluster

  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def getLeader: Address

    Permalink

    Java API: get address of current data center leader, or null if none

  28. def getMembers: Iterable[Member]

    Permalink

    Java API: get current member list.

  29. def getRoleLeader(role: String): Address

    Permalink

    Java API: get address of current leader, if any, within the data center that has the given role or null if no such node exists

  30. def getSeenBy: Set[Address]

    Permalink

    Java API: get current “seen-by” set.

  31. def getUnreachable: Set[Member]

    Permalink

    Java API: get current unreachable set.

  32. def getUnreachableDataCenters: Set[String]

    Permalink

    Java API: All data centers in the cluster

  33. def hashCode(): Int

    Permalink
    Definition Classes
    CurrentClusterState → AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. val leader: Option[Address]

    Permalink

    leader of the data center of this node

  36. val members: SortedSet[Member]

    Permalink
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  40. def productArity: Int

    Permalink
    Definition Classes
    Product5 → Product
  41. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product5 → Product
    Annotations
    @throws( ... )
  42. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  43. def productPrefix: String

    Permalink
    Definition Classes
    CurrentClusterState → Product
  44. def roleLeader(role: String): Option[Address]

    Permalink

    get address of current leader, if any, within the data center that has the given role

  45. val roleLeaderMap: Map[String, Option[Address]]

    Permalink
  46. val seenBy: Set[Address]

    Permalink
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to CollectionsHaveToParArray[CurrentClusterState, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (CurrentClusterState) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  49. def toString(): String

    Permalink
    Definition Classes
    CurrentClusterState → AnyRef → Any
  50. val unreachable: Set[Member]

    Permalink
  51. val unreachableDataCenters: Set[DataCenter]

    Permalink
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def withUnreachableDataCenters(unreachableDataCenters: Set[DataCenter]): CurrentClusterState

    Permalink

    Replace the set of unreachable datacenters with the given set

  56. def [B](y: B): (CurrentClusterState, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CurrentClusterState to ArrowAssoc[CurrentClusterState] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product5[SortedSet[Member], Set[Member], Set[Address], Option[Address], Map[String, Option[Address]]]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from CurrentClusterState to CollectionsHaveToParArray[CurrentClusterState, T]

Inherited by implicit conversion any2stringadd from CurrentClusterState to any2stringadd[CurrentClusterState]

Inherited by implicit conversion StringFormat from CurrentClusterState to StringFormat[CurrentClusterState]

Inherited by implicit conversion Ensuring from CurrentClusterState to Ensuring[CurrentClusterState]

Inherited by implicit conversion ArrowAssoc from CurrentClusterState to ArrowAssoc[CurrentClusterState]

Ungrouped