Packages

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() @nowarn()
Source
ClusterEvent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrentClusterState
  2. Serializable
  3. Product5
  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. Protected

Instance Constructors

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

    leader

    leader of the data center of this node

    memberTombstones

    INTERNAL API

  2. 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)
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.10) use main constructor

  3. new CurrentClusterState(members: SortedSet[Member], unreachable: Set[Member], seenBy: Set[Address], leader: Option[Address], roleLeaderMap: Map[String, Option[Address]], unreachableDataCenters: Set[DataCenter])
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.10) use main constructor

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
    This member is added by an implicit conversion from CurrentClusterState toany2stringadd[CurrentClusterState] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CurrentClusterState, B)
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toArrowAssoc[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 _1: SortedSet[Member]
    Definition Classes
    CurrentClusterState → Product5
  7. def _2: Set[Member]
    Definition Classes
    CurrentClusterState → Product5
  8. def _3: Set[Address]
    Definition Classes
    CurrentClusterState → Product5
  9. def _4: Option[Address]
    Definition Classes
    CurrentClusterState → Product5
  10. def _5: Map[String, Option[Address]]
    Definition Classes
    CurrentClusterState → Product5
  11. def allRoles: Set[String]

    All node roles in the cluster

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def canEqual(that: Any): Boolean
    Definition Classes
    CurrentClusterState → Equals
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  15. 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
  16. def ensuring(cond: (CurrentClusterState) => Boolean, msg: => Any): CurrentClusterState
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toEnsuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (CurrentClusterState) => Boolean): CurrentClusterState
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toEnsuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): CurrentClusterState
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toEnsuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): CurrentClusterState
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toEnsuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(other: Any): Boolean
    Definition Classes
    CurrentClusterState → Equals → AnyRef → Any
  22. def getAllDataCenters: Set[String]

    Java API: All data centers in the cluster

  23. def getAllRoles: Set[String]

    Java API: All node roles in the cluster

  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. def getLeader: Address

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

  26. def getMembers: Iterable[Member]

    Java API: get current member list.

  27. def getRoleLeader(role: String): Address

    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

  28. def getSeenBy: Set[Address]

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

  29. def getUnreachable: Set[Member]

    Java API: get current unreachable set.

  30. def getUnreachableDataCenters: Set[String]

    Java API: All data centers in the cluster

  31. def hashCode(): Int
    Definition Classes
    CurrentClusterState → AnyRef → Any
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. val leader: Option[Address]
  34. val members: SortedSet[Member]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  38. def productArity: Int
    Definition Classes
    Product5 → Product
  39. def productElement(n: Int): Any
    Definition Classes
    Product5 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  40. def productElementName(n: Int): String
    Definition Classes
    Product
  41. def productElementNames: Iterator[String]
    Definition Classes
    Product
  42. def productIterator: Iterator[Any]
    Definition Classes
    Product
  43. def productPrefix: String
    Definition Classes
    CurrentClusterState → Product
  44. def roleLeader(role: String): Option[Address]

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

  45. val roleLeaderMap: Map[String, Option[Address]]
  46. val seenBy: Set[Address]
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    CurrentClusterState → AnyRef → Any
  49. val unreachable: Set[Member]
  50. val unreachableDataCenters: Set[DataCenter]
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. def withMemberTombstones(memberTombstones: Set[UniqueAddress]): CurrentClusterState
  55. def withUnreachableDataCenters(unreachableDataCenters: Set[DataCenter]): CurrentClusterState

    Replace the set of unreachable datacenters with the given set

Deprecated Value Members

  1. def allDataCenters: Set[String]

    All data centers in the cluster

    All data centers in the cluster

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  3. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toStringFormat[CurrentClusterState] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  4. def [B](y: B): (CurrentClusterState, B)
    Implicit
    This member is added by an implicit conversion from CurrentClusterState toArrowAssoc[CurrentClusterState] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

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 any2stringadd fromCurrentClusterState to any2stringadd[CurrentClusterState]

Inherited by implicit conversion StringFormat fromCurrentClusterState to StringFormat[CurrentClusterState]

Inherited by implicit conversion Ensuring fromCurrentClusterState to Ensuring[CurrentClusterState]

Inherited by implicit conversion ArrowAssoc fromCurrentClusterState to ArrowAssoc[CurrentClusterState]

Ungrouped