case class NodeSet(name: Option[String], version: Option[Long], nodes: Vector[Node], authenticates: Set[Authenticate]) extends Product with Serializable
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NodeSet
- Serializable
- 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( ... )
- 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[_]
- Definition Classes
- 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def pick(preference: ReadPreference): Option[(Node, Connection)]
- def pickByChannelId(id: Int): Option[(Node, Connection)]
- def primary(authenticated: Authenticated): Option[Node]
-
val
primary: Option[Node]
The node which is the current primary one.
- 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: Int)(fc: (Connection) ⇒ Connection)(fn: (Node) ⇒ Node): NodeSet
- def updateConnectionByChannelId(id: Int)(f: (Connection) ⇒ Connection): NodeSet
- def updateNodeByChannelId(id: Int)(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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (NodeSet, B)
Deprecated Value Members
-
def
createNeededChannels(receiver: ActorRef, upTo: Int)(implicit channelFactory: ChannelFactory): NodeSet
Returns a NodeSet with channels created to
upTo
given maximum, per each member of the set.Returns a NodeSet with channels created to
upTo
given maximum, per each member of the set.- Annotations
- @deprecated
- Deprecated
(Since version 0.12-RC1) Use
createNeededChannels
with the explicitchannelFactory
-
def
pickForWrite: Option[(Node, Connection)]
- Annotations
- @deprecated
- Deprecated
(Since version 0.12-RC0) Unused