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)
- Alphabetic
- By Inheritance
- ReplSetMember
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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 ReplSetMember toany2stringadd[ReplSetMember] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _id: Long
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val configVersion: Option[Int]
- val electionTime: Option[Long]
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[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 ReplSetMember toStringFormat[ReplSetMember] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val health: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastHeartbeat: Option[Long]
- val lastHeartbeatMessage: Option[String]
- val lastHeartbeatRecv: Option[Long]
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val optime: Long
- val pingMs: Option[Long]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val self: Boolean
- val state: Int
- val stateStr: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val syncingTo: Option[String]
- val uptime: Long
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Deprecated Value Members
- 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.