Class

reactivemongo.core.nodeset

NodeSet

Related Doc: package nodeset

Permalink

case class NodeSet(name: Option[String], version: Option[Long], nodes: Vector[Node], authenticates: Set[Authenticate]) extends Product with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeSet
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NodeSet(name: Option[String], version: Option[Long], nodes: Vector[Node], authenticates: Set[Authenticate])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val authenticates: Set[Authenticate]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (NodeSet) ⇒ Boolean, msg: ⇒ Any): NodeSet

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def info: NodeSetInfo

    Permalink

    Returns the read-only information about this node.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isReachable: Boolean

    Permalink
  20. val mongos: Option[Node]

    Permalink

    The mongos node, if any.

  21. val name: Option[String]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. val nearest: Option[Node]

    Permalink

    The first node from the nearestGroup.

  24. val nearestGroup: RoundRobiner[Node, Vector]

    Permalink

    See the nearest read preference.

  25. val nodes: Vector[Node]

    Permalink
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def pick(preference: ReadPreference): Option[(Node, Connection)]

    Permalink
  29. def pickByChannelId(id: Int): Option[(Node, Connection)]

    Permalink
  30. def primary(authenticated: Authenticated): Option[Node]

    Permalink
  31. val primary: Option[Node]

    Permalink

    The node which is the current primary one.

  32. val protocolMetadata: ProtocolMetadata

    Permalink
  33. val queryable: Vector[Node]

    Permalink
  34. val secondaries: RoundRobiner[Node, Vector]

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

    Permalink
    Definition Classes
    AnyRef
  36. def toShortString: String

    Permalink
  37. def updateAll(f: (Node) ⇒ Node): NodeSet

    Permalink
  38. def updateByChannelId(id: Int)(fc: (Connection) ⇒ Connection)(fn: (Node) ⇒ Node): NodeSet

    Permalink
  39. def updateConnectionByChannelId(id: Int)(f: (Connection) ⇒ Connection): NodeSet

    Permalink
  40. def updateNodeByChannelId(id: Int)(f: (Node) ⇒ Node): NodeSet

    Permalink
  41. def updateOrAddNode(f: PartialFunction[Node, Node], default: Node): NodeSet

    Permalink
  42. def updateOrAddNodes(f: PartialFunction[Node, Node], nodes: Seq[Node]): NodeSet

    Permalink
  43. val version: Option[Long]

    Permalink
  44. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def [B](y: B): (NodeSet, B)

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

Deprecated Value Members

  1. def createNeededChannels(receiver: ActorRef, upTo: Int)(implicit channelFactory: ChannelFactory): NodeSet

    Permalink

    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 explicit channelFactory

  2. def pickForWrite: Option[(Node, Connection)]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC0) Unused

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from NodeSet to any2stringadd[NodeSet]

Inherited by implicit conversion StringFormat from NodeSet to StringFormat[NodeSet]

Inherited by implicit conversion Ensuring from NodeSet to Ensuring[NodeSet]

Inherited by implicit conversion ArrowAssoc from NodeSet to ArrowAssoc[NodeSet]

Ungrouped