reactivemongo.api.commands

ReplSetMember

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, Serializable, Product, Equals, AnyRef, Any
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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ReplSetMember, B)

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to ArrowAssoc[ReplSetMember] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. val _id: Long

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    the configuration version (since MongoDB 3.

    the configuration version (since MongoDB 3.0)

  12. val electionTime: Option[Long]

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

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

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to Ensuring[ReplSetMember] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ReplSetMember) ⇒ Boolean): ReplSetMember

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to Ensuring[ReplSetMember] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ReplSetMember

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to Ensuring[ReplSetMember] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ReplSetMember

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to Ensuring[ReplSetMember] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def finalize(): Unit

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

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. val health: Int

    the health indicator for this member

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. val lastHeartbeat: Option[Long]

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

  24. val lastHeartbeatMessage: Option[String]

    an optional message from the last heartbeat

  25. val lastHeartbeatRecv: Option[Long]

    the time that the last heartbeat was received from this member

  26. val name: String

    the member name (e.

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

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

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val optime: Long

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

  31. val pingMs: Option[Long]

    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)

  32. val self: Boolean

    indicates which replica set member processed the replSetGetStatus command

  33. val state: Int

    the state code of the member

  34. val stateStr: String

    the string representation of the state

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

    Definition Classes
    AnyRef
  36. val syncingTo: Option[String]

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

  37. val uptime: Long

    the number of seconds that this member has been online

  38. final def wait(): Unit

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

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

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

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to ArrowAssoc[ReplSetMember] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    indicates which replica set member processed the replSetGetStatus command

    indicates which replica set member processed the replSetGetStatus command

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (replSetMember: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    indicates which replica set member processed the replSetGetStatus command

    indicates which replica set member processed the replSetGetStatus command

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (replSetMember: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ReplSetMember

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to ArrowAssoc[ReplSetMember] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (replSetMember: ArrowAssoc[ReplSetMember]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ReplSetMember

    Implicit information
    This member is added by an implicit conversion from ReplSetMember to Ensuring[ReplSetMember] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (replSetMember: Ensuring[ReplSetMember]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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 StringAdd

Inherited by implicit conversion any2stringfmt from ReplSetMember to StringFormat

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

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

Ungrouped