Class

akka.cluster.ClusterEvent

CurrentClusterState

Related Doc: package ClusterEvent

Permalink

final 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
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

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 allRoles: Set[String]

    Permalink

    All node roles in the cluster

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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
  10. 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
  11. 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
  12. 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
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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()
  16. def getAllRoles: Set[String]

    Permalink

    Java API: All node roles in the cluster

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getLeader: Address

    Permalink

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

  19. def getMembers: Iterable[Member]

    Permalink

    Java API: get current member list.

  20. def getRoleLeader(role: String): Address

    Permalink

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

  21. def getSeenBy: Set[Address]

    Permalink

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

  22. def getUnreachable: Set[Member]

    Permalink

    Java API: get current unreachable set.

  23. final def isInstanceOf[T0]: Boolean

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

    Permalink
  25. val members: SortedSet[Member]

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

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

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

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

    Permalink

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

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

    Permalink
  31. val seenBy: Set[Address]

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

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

    Permalink
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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

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