akka.cluster.ClusterEvent

CurrentClusterState

Related Doc: package ClusterEvent

case class 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) extends Product with Serializable

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

Source
ClusterEvent.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CurrentClusterState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
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)

Value Members

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

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

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

    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)

    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

    Definition Classes
    AnyRef → Any
  6. def allRoles: Set[String]

    All node roles in the cluster

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (CurrentClusterState) ⇒ Boolean, msg: ⇒ Any): CurrentClusterState

    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
  10. def ensuring(cond: (CurrentClusterState) ⇒ Boolean): CurrentClusterState

    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
  11. def ensuring(cond: Boolean, msg: ⇒ Any): CurrentClusterState

    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
  12. def ensuring(cond: Boolean): CurrentClusterState

    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
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    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()
  16. def getAllRoles: Set[String]

    Java API: All node roles in the cluster

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

    Definition Classes
    AnyRef → Any
  18. def getLeader: Address

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

  19. def getMembers: Iterable[Member]

    Java API: get current member list.

  20. def getRoleLeader(role: String): Address

    Java API: get address of current leader within the role set, or null if no node with that role

  21. def getSeenBy: Set[Address]

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

  22. def getUnreachable: Set[Member]

    Java API: get current unreachable set.

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. val leader: Option[Address]

  25. val members: SortedSet[Member]

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def roleLeader(role: String): Option[Address]

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

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

  31. val seenBy: Set[Address]

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

    Definition Classes
    AnyRef
  33. val unreachable: Set[Member]

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (CurrentClusterState, B)

    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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

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