case class NodeSet(name: Option[String], version: Option[Long], nodes: Vector[Node], authenticates: Set[Authenticate]) extends Product with Serializable
- name
the replicaSet name
- version
the replicaSet version
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeSet
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (NodeSet, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authenticates: Set[Authenticate]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (NodeSet) => Boolean, msg: => Any): NodeSet
- def ensuring(cond: (NodeSet) => Boolean): NodeSet
- def ensuring(cond: Boolean, msg: => Any): NodeSet
- def ensuring(cond: Boolean): NodeSet
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info: NodeSetInfo
Returns the read-only information about this node.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReachable: Boolean
- val mongos: Option[Node]
The
mongos
node, if any. - val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nearest: Option[Node]
The first node from the nearestGroup.
- val nearestGroup: RoundRobiner[Node, Vector]
See the nearest read preference.
- val nodes: Vector[Node]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pickByChannelId(id: ChannelId): Option[(Node, Connection)]
- def primary(authenticated: Authenticated): Option[Node]
- val primary: Option[Node]
The node which is the current primary one.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocolMetadata: ProtocolMetadata
- val queryable: Vector[Node]
- val secondaries: RoundRobiner[Node, Vector]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toShortString: String
- def updateAll(f: (Node) => Node): NodeSet
- def updateByChannelId(id: ChannelId)(fc: (Connection) => Connection)(fn: (Node) => Node): NodeSet
- def updateConnectionByChannelId(id: ChannelId)(f: (Connection) => Connection): NodeSet
- def updateNodeByChannelId(id: ChannelId)(f: (Node) => Node): NodeSet
- def updateOrAddNode(f: PartialFunction[Node, Node], default: Node): NodeSet
- def updateOrAddNodes(f: PartialFunction[Node, Node], nodes: Seq[Node]): NodeSet
- val version: Option[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 pick(preference: ReadPreference): Option[(Node, Connection)]
- Annotations
- @deprecated
- Deprecated
(Since version )
- def →[B](y: B): (NodeSet, B)
- Implicit
- This member is added by an implicit conversion from NodeSet toArrowAssoc[NodeSet] 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.