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
 
- Alphabetic
 - By Inheritance
 
- CurrentClusterState
 - Serializable
 - Product5
 - Product
 - Equals
 - AnyRef
 - Any
 
- by any2stringadd
 - by StringFormat
 - by Ensuring
 - by ArrowAssoc
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-    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
 -    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
 -    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
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -    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
 
 -    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()
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def _1: SortedSet[Member]
- Definition Classes
 - CurrentClusterState → Product5
 
 -    def _2: Set[Member]
- Definition Classes
 - CurrentClusterState → Product5
 
 -    def _3: Set[Address]
- Definition Classes
 - CurrentClusterState → Product5
 
 -    def _4: Option[Address]
- Definition Classes
 - CurrentClusterState → Product5
 
 -    def _5: Map[String, Option[Address]]
- Definition Classes
 - CurrentClusterState → Product5
 
 -    def allDataCenters: Set[String]
All data centers in the cluster
 -    def allRoles: Set[String]
All node roles in the cluster
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def canEqual(that: Any): Boolean
- Definition Classes
 - CurrentClusterState → Equals
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
 -  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
 -    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
 
 -    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
 
 -    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
 
 -    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
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(other: Any): Boolean
- Definition Classes
 - CurrentClusterState → Equals → AnyRef → Any
 
 -    def getAllDataCenters: Set[String]
Java API: All data centers in the cluster
Java API: All data centers in the cluster
- Annotations
 - @nowarn()
 
 -    def getAllRoles: Set[String]
Java API: All node roles in the cluster
Java API: All node roles in the cluster
- Annotations
 - @nowarn()
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -    def getLeader: Address
Java API: get address of current data center leader, or null if none
 -    def getMembers: Iterable[Member]
Java API: get current member list.
 -    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
 -    def getSeenBy: Set[Address]
Java API: get current “seen-by” set.
Java API: get current “seen-by” set.
- Annotations
 - @nowarn()
 
 -    def getUnreachable: Set[Member]
Java API: get current unreachable set.
Java API: get current unreachable set.
- Annotations
 - @nowarn()
 
 -    def getUnreachableDataCenters: Set[String]
Java API: All data centers in the cluster
Java API: All data centers in the cluster
- Annotations
 - @nowarn()
 
 -    def hashCode(): Int
- Definition Classes
 - CurrentClusterState → AnyRef → Any
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -  val leader: Option[Address]
 -  val members: SortedSet[Member]
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @HotSpotIntrinsicCandidate() @native()
 
 -    def productArity: Int
- Definition Classes
 - Product5 → Product
 
 -    def productElement(n: Int): Any
- Definition Classes
 - Product5 → Product
 - Annotations
 - @throws(classOf[java.lang.IndexOutOfBoundsException])
 
 -    def productElementName(n: Int): String
- Definition Classes
 - Product
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -    def productIterator: Iterator[Any]
- Definition Classes
 - Product
 
 -    def productPrefix: String
- Definition Classes
 - CurrentClusterState → Product
 
 -    def roleLeader(role: String): Option[Address]
get address of current leader, if any, within the data center that has the given role
 -  val roleLeaderMap: Map[String, Option[Address]]
 -  val seenBy: Set[Address]
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - CurrentClusterState → AnyRef → Any
 
 -  val unreachable: Set[Member]
 -  val unreachableDataCenters: Set[DataCenter]
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -  def withMemberTombstones(memberTombstones: Set[UniqueAddress]): CurrentClusterState
 -    def withUnreachableDataCenters(unreachableDataCenters: Set[DataCenter]): CurrentClusterState
Replace the set of unreachable datacenters with the given set
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated
 - Deprecated
 (Since version 9)
 -    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 ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
 -    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.