reactivemongo.api

MongoDriver

class MongoDriver extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDriver
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDriver(config: Option[Config] = scala.None)

    config

    a custom configuration (otherwise the default options are used)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(timeout: FiniteDuration = FiniteDuration(2, SECONDS)): Unit

    Closes this driver (and all its connections and resources).

    Closes this driver (and all its connections and resources). Awaits the termination until the timeout is expired.

  11. def connection(parsedURI: ParsedURI): MongoConnection

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

  12. def connection(parsedURI: ParsedURI, strictUri: Boolean): Try[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

    strictUri

    if true the parsed URI must be strict, without ignored/unsupported options (default: false)

  13. def connection(parsedURI: ParsedURI, name: Option[String], strictUri: Boolean): Try[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    The URI parsed by reactivemongo.api.MongoConnection.parseURI

    name

    the name for the connection pool

    strictUri

    if true the parsed URI must be strict, without ignored/unsupported options (default: false)

  14. def connection(parsedURI: ParsedURI, name: Option[String]): MongoConnection

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

    name

    the name for the connection pool

  15. def connection(nodes: Seq[String], options: MongoConnectionOptions = MongoConnectionOptions(), authentications: Seq[Authenticate] = Seq.empty, name: Option[String] = None): MongoConnection

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    See how to connect to the database

    nodes

    The list of node names (e.g. node1.foo.com:27017); Port is optional (27017 is used by default)

    options

    the options for the new connection pool

    authentications

    the list of authentication instructions

    name

    the name for the connection pool

  16. def connections: Iterable[MongoConnection]

    Keep a list of all connections so that we can terminate the actors

  17. def ensuring(cond: (MongoDriver) ⇒ Boolean, msg: ⇒ Any): MongoDriver

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

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

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

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

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def numConnections: Int

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

    Definition Classes
    AnyRef
  33. val system: ActorSystem

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (MongoDriver, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from MongoDriver to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoDriver: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from MongoDriver to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoDriver: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def connection(parsedURI: ParsedURI, nbChannelsPerNode: Int): MongoConnection

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

    nbChannelsPerNode

    the number of channels to open per node

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.3) Must you connection with nbChannelsPerNode set in the options of the parsedURI.

  2. def connection(parsedURI: ParsedURI, nbChannelsPerNode: Int, name: Option[String]): MongoConnection

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    See how to connect to the database

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

    nbChannelsPerNode

    the number of channels to open per node

    name

    the name for the connection pool

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.3) Must you reactivemongo.api.MongoDriver.connection(reactivemongo.api.MongoConnection.ParsedURI,Option[String]):reactivemongo.api.MongoConnection connection(..)]] with nbChannelsPerNode set in the parsedURI.

  3. def connection(nodes: Seq[String], options: MongoConnectionOptions, authentications: Seq[Authenticate], nbChannelsPerNode: Int, name: Option[String]): MongoConnection

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    See how to connect to the database

    nodes

    The list of node names (e.g. node1.foo.com:27017); Port is optional (27017 is used by default)

    options

    the options for the new connection pool

    authentications

    the list of authentication instructions

    nbChannelsPerNode

    the number of channels to open per node

    name

    the name for the connection pool

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.3) Must use connection with nbChannelsPerNode set in the options.

  4. def x: MongoDriver

    Implicit information
    This member is added by an implicit conversion from MongoDriver to ArrowAssoc[MongoDriver] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoDriver: ArrowAssoc[MongoDriver]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  5. def x: MongoDriver

    Implicit information
    This member is added by an implicit conversion from MongoDriver to Ensuring[MongoDriver] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (mongoDriver: Ensuring[MongoDriver]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MongoDriver to StringAdd

Inherited by implicit conversion any2stringfmt from MongoDriver to StringFormat

Inherited by implicit conversion any2ArrowAssoc from MongoDriver to ArrowAssoc[MongoDriver]

Inherited by implicit conversion any2Ensuring from MongoDriver to Ensuring[MongoDriver]

Ungrouped