Class

reactivemongo.api.commands

ReplSetMember

Related Doc: package commands

Permalink

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])

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. val _id: Long

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val configVersion: Option[Int]

    Permalink

    the configuration version (since MongoDB 3.0)

  10. val electionTime: Option[Long]

    Permalink

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

  11. def ensuring(cond: (ReplSetMember) ⇒ Boolean, msg: ⇒ Any): ReplSetMember

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. val health: Int

    Permalink

    the health indicator for this member

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val lastHeartbeat: Option[Long]

    Permalink

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

  22. val lastHeartbeatMessage: Option[String]

    Permalink

    an optional message from the last heartbeat

  23. val lastHeartbeatRecv: Option[Long]

    Permalink

    the time that the last heartbeat was received from this member

  24. val name: String

    Permalink

    the member name (e.g.

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

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val optime: Long

    Permalink

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

  29. val pingMs: Option[Long]

    Permalink

    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)

  30. val self: Boolean

    Permalink

    indicates which replica set member processed the replSetGetStatus command

  31. val state: Int

    Permalink

    the state code of the member

  32. val stateStr: String

    Permalink

    the string representation of the state

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. val syncingTo: Option[String]

    Permalink

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

  35. val uptime: Long

    Permalink

    the number of seconds that this member has been online

  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (ReplSetMember, B)

    Permalink
    Implicit information
    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