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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplSetMember
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 to any2stringadd[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 to ArrowAssoc[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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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[java.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 to StringFormat[ReplSetMember] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    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. val self: Boolean
  31. val state: Int
  32. val stateStr: String
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. val syncingTo: Option[String]
  35. val uptime: Long
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  39. def [B](y: B): (ReplSetMember, B)
    Implicit
    This member is added by an implicit conversion from ReplSetMember to ArrowAssoc[ReplSetMember] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReplSetMember to any2stringadd[ReplSetMember]

Inherited by implicit conversion StringFormat from ReplSetMember to StringFormat[ReplSetMember]

Inherited by implicit conversion Ensuring from ReplSetMember to Ensuring[ReplSetMember]

Inherited by implicit conversion ArrowAssoc from ReplSetMember to ArrowAssoc[ReplSetMember]

Ungrouped