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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CurrentClusterState
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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 to any2stringadd[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 to ArrowAssoc[CurrentClusterState] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allRoles: Set[String]
All node roles in the cluster
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (CurrentClusterState) ⇒ Boolean, msg: ⇒ Any): CurrentClusterState
- Implicit
- This member is added by an implicit conversion from CurrentClusterState to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[CurrentClusterState] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- 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()
-
def
getAllRoles: Set[String]
Java API: All node roles in the cluster
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getLeader: Address
Java API: get address of current 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 within the role set, or null if no node with that role
-
def
getSeenBy: Set[Address]
Java API: get current “seen-by” set.
-
def
getUnreachable: Set[Member]
Java API: get current unreachable set.
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
roleLeader(role: String): Option[Address]
get address of current leader, if any, within the role set
- val roleLeaderMap: Map[String, Option[Address]]
- val seenBy: Set[Address]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val unreachable: Set[Member]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (CurrentClusterState, B)
- Implicit
- This member is added by an implicit conversion from CurrentClusterState to ArrowAssoc[CurrentClusterState] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc