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
- val authenticates: Set[Authenticate]
- def equals(that: Any): Boolean
- Definition Classes
- NodeSet → Equals → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- NodeSet → AnyRef → Any
- def info: NodeSetInfo
Returns the read-only information about this node.
- def isReachable: Boolean
- val mongos: Option[Node]
The
mongos
node, if any. - val name: Option[String]
- val nearest: Option[Node]
The first node from the nearestGroup.
- val nearestGroup: RoundRobiner[Node, Vector]
See the nearest read preference.
- val nodes: Vector[Node]
- 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]
- 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]
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 pick(preference: ReadPreference): Option[(Node, Connection)]
- Annotations
- @deprecated
- Deprecated
(Since version )