class NodeSet extends Product4[Option[String], Option[Long], Vector[Node], Set[Authenticate]] with Serializable
- Annotations
- @SerialVersionUID() @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeSet
- Serializable
- Product4
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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 equals(that: Any): Boolean
- Definition Classes
- NodeSet → Equals → AnyRef → Any
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- NodeSet → AnyRef → Any
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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 productArity: Int
- Definition Classes
- Product4 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product4 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: 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 toString(): String
- Definition Classes
- NodeSet → AnyRef → Any
- 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 _1: Option[String]
- Definition Classes
- NodeSet → Product4
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer case class
- def _2: Option[Long]
- Definition Classes
- NodeSet → Product4
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer case class
- def _3: Vector[Node]
- Definition Classes
- NodeSet → Product4
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer case class
- def _4: Set[Authenticate]
- Definition Classes
- NodeSet → Product4
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer case class
- def canEqual(that: Any): Boolean
- Definition Classes
- NodeSet → Equals
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) No longer case class
- def copy(name: Option[String] = this.name, version: Option[Long] = this.version, nodes: Vector[Node] = this.nodes, authenticates: Set[Authenticate] = this.authenticates): NodeSet
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) No longer case class
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- 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.