class Member extends Serializable
Represents the address, current status, and roles of a cluster member node.
Note: hashCode and equals are solely based on the underlying Address, not its MemberStatus
and roles.
- Annotations
- @SerialVersionUID() @nowarn()
- Source
- Member.scala
- Alphabetic
- By Inheritance
- Member
- Serializable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-  def +(other: String): String
-  def ->[B](y: B): (Member, B)
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-  def address: Address
-  val appVersion: util.Version
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
-  def copy(status: MemberStatus): Member
-  def copyUp(upNumber: Int): Member
-  def ensuring(cond: (Member) => Boolean, msg: => Any): Member
-  def ensuring(cond: (Member) => Boolean): Member
-  def ensuring(cond: Boolean, msg: => Any): Member
-  def ensuring(cond: Boolean): Member
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(other: Any): Boolean- Definition Classes
- Member → AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def getRoles: Set[String]Java API 
-  def hasRole(role: String): Boolean
-    def hashCode(): Int- Definition Classes
- Member → AnyRef → Any
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def isOlderThan(other: Member): BooleanIs this member older, has been part of cluster longer, than another member. Is this member older, has been part of cluster longer, than another member. It is only correct when comparing two existing members in a cluster. A member that joined after removal of another member may be considered older than the removed member. Note that it only makes sense to compare with other members of same data center (upNumber has a higher risk of being reused across data centers). To avoid mistakes of comparing members of different data centers this method will throw IllegalArgumentExceptionif the members belong to different data centers.- Annotations
- @throws("if members from different data centers")
 
-   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()
 
-  val roles: Set[String]
-  val status: MemberStatus
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- Member → AnyRef → Any
 
-  val uniqueAddress: UniqueAddress
-   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])
 
Deprecated Value Members
-    lazy val dataCenter: DataCenter- Annotations
- @deprecated
- Deprecated
- (Since version 2.10.0) Use Akka Distributed Cluster instead 
 
-    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 Member toStringFormat[Member] 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,- formattedresolves to the new method in String which has reversed parameters.
 
-    def →[B](y: B): (Member, B)- Implicit
- This member is added by an implicit conversion from Member toArrowAssoc[Member] 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.