case class ReplSetMember(_id: Long, name: String, health: Int, state: Int, stateStr: String, uptime: Long, optime: Long, lastHeartbeat: Option[Long], lastHeartbeatRecv: Option[Long], lastHeartbeatMessage: Option[String], electionTime: Option[Long], self: Boolean, pingMs: Option[Long], syncingTo: Option[String], configVersion: Option[Int]) extends Product with Serializable

Replica set member.

name

the member name (e.g. "host:port")

health

the health indicator for this member

state

the state code of the member

stateStr

the string representation of the state

uptime

the number of seconds that this member has been online

optime

information regarding the last operation from the operation log that this member has applied

lastHeartbeat

the time of the transmission time of last heartbeat received from this member

lastHeartbeatRecv

the time that the last heartbeat was received from this member

lastHeartbeatMessage

an optional message from the last heartbeat

electionTime

if the member is the primary, the time it was elected as

self

indicates which replica set member processed the replSetGetStatus command

pingMs

the number of milliseconds (ms) that a round-trip packet takes to travel between the remote member and the local instance (does not appear for the member that returns the rs.status() data)

syncingTo

the hostname of the member from which this instance is syncing (only present on the output of rs.status() on secondary and recovering members)

configVersion

the configuration version (since MongoDB 3.0)

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplSetMember
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. 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 ReplSetMember(_id: Long, name: String, health: Int, state: Int, stateStr: String, uptime: Long, optime: Long, lastHeartbeat: Option[Long], lastHeartbeatRecv: Option[Long], lastHeartbeatMessage: Option[String], electionTime: Option[Long], self: Boolean, pingMs: Option[Long], syncingTo: Option[String], configVersion: Option[Int])

    name

    the member name (e.g. "host:port")

    health

    the health indicator for this member

    state

    the state code of the member

    stateStr

    the string representation of the state

    uptime

    the number of seconds that this member has been online

    optime

    information regarding the last operation from the operation log that this member has applied

    lastHeartbeat

    the time of the transmission time of last heartbeat received from this member

    lastHeartbeatRecv

    the time that the last heartbeat was received from this member

    lastHeartbeatMessage

    an optional message from the last heartbeat

    electionTime

    if the member is the primary, the time it was elected as

    self

    indicates which replica set member processed the replSetGetStatus command

    pingMs

    the number of milliseconds (ms) that a round-trip packet takes to travel between the remote member and the local instance (does not appear for the member that returns the rs.status() data)

    syncingTo

    the hostname of the member from which this instance is syncing (only present on the output of rs.status() on secondary and recovering members)

    configVersion

    the configuration version (since MongoDB 3.0)

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 ReplSetMember toany2stringadd[ReplSetMember] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplSetMember, B)
    Implicit
    This member is added by an implicit conversion from ReplSetMember toArrowAssoc[ReplSetMember] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val _id: Long
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val configVersion: Option[Int]
  10. val electionTime: Option[Long]
  11. def ensuring(cond: (ReplSetMember) => Boolean, msg: => Any): ReplSetMember
    Implicit
    This member is added by an implicit conversion from ReplSetMember toEnsuring[ReplSetMember] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (ReplSetMember) => Boolean): ReplSetMember
    Implicit
    This member is added by an implicit conversion from ReplSetMember toEnsuring[ReplSetMember] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): ReplSetMember
    Implicit
    This member is added by an implicit conversion from ReplSetMember toEnsuring[ReplSetMember] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): ReplSetMember
    Implicit
    This member is added by an implicit conversion from ReplSetMember toEnsuring[ReplSetMember] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ReplSetMember toStringFormat[ReplSetMember] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. val health: Int
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val lastHeartbeat: Option[Long]
  22. val lastHeartbeatMessage: Option[String]
  23. val lastHeartbeatRecv: Option[Long]
  24. val name: String
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val optime: Long
  29. val pingMs: Option[Long]
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val self: Boolean
  32. val state: Int
  33. val stateStr: String
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val syncingTo: Option[String]
  36. val uptime: Long
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (ReplSetMember, B)
    Implicit
    This member is added by an implicit conversion from ReplSetMember toArrowAssoc[ReplSetMember] 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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromReplSetMember to any2stringadd[ReplSetMember]

Inherited by implicit conversion StringFormat fromReplSetMember to StringFormat[ReplSetMember]

Inherited by implicit conversion Ensuring fromReplSetMember to Ensuring[ReplSetMember]

Inherited by implicit conversion ArrowAssoc fromReplSetMember to ArrowAssoc[ReplSetMember]

Ungrouped