reactivemongo.api

AsyncDriver

class AsyncDriver extends Driver

Linear Supertypes
Driver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncDriver
  2. Driver
  3. AnyRef
  4. 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 AsyncDriver(config: Option[Config] = scala.None, classLoader: Option[ClassLoader] = scala.None)

    config

    a custom configuration (otherwise the default options are used)

    classLoader

    a classloader used to load the actor system

Type Members

  1. final class SupervisorActor extends Actor

    Definition Classes
    Driver

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 AsyncDriver to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AsyncDriver, B)

    Implicit information
    This member is added by an implicit conversion from AsyncDriver to ArrowAssoc[AsyncDriver] 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. final def askClose(timeout: FiniteDuration)(implicit ec: ExecutionContext): Future[Unit]

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

    Closes this driver (and all its connections and resources). Will wait until the timeout for proper closing of connections before forcing hard shutdown.

    Attributes
    protected
    Definition Classes
    Driver
  10. final def askConnection(nodes: Seq[String], options: MongoConnectionOptions, name: Option[String]): Future[MongoConnection]

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    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

    name

    the name for the connection pool

    Attributes
    protected
    Definition Classes
    Driver
  11. val classLoader: Option[ClassLoader]

    a classloader used to load the actor system

    a classloader used to load the actor system

    Attributes
    protected
    Definition Classes
    AsyncDriver → Driver
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def close(timeout: FiniteDuration = FiniteDuration(2, SECONDS))(implicit ec: ExecutionContext): Future[Unit]

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

    Closes this driver (and all its connections and resources). Will wait until the timeout for proper closing of connections before forcing hard shutdown.

  14. val config: Option[Config]

    a custom configuration (otherwise the default options are used)

    a custom configuration (otherwise the default options are used)

    Attributes
    protected
    Definition Classes
    AsyncDriver → Driver
  15. def connect(parsedURI: ParsedURI): Future[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    parsedURI

    the URI parsed by reactivemongo.api.MongoConnection.parseURI

  16. def connect(parsedURI: ParsedURI, name: Option[String]): Future[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    parsedURI

    The URI parsed by reactivemongo.api.MongoConnection.parseURI

    name

    the name for the connection pool

  17. def connect(uriStrict: String, name: Option[String]): Future[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    uriStrict

    the strict URI, that will be parsed by reactivemongo.api.MongoConnection.parseURI

    name

    the name for the connection pool

  18. def connect(uriStrict: String): Future[MongoConnection]

    Creates a new MongoConnection from URI.

    Creates a new MongoConnection from URI.

    uriStrict

    the strict URI, that will be parsed by reactivemongo.api.MongoConnection.parseURI

  19. def connect(nodes: Seq[String], options: MongoConnectionOptions, name: String): Future[MongoConnection]

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    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

    name

    the name for the connection pool

  20. def connect(nodes: Seq[String], options: MongoConnectionOptions): Future[MongoConnection]

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    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

  21. def connect(nodes: Seq[String]): Future[MongoConnection]

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    nodes

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

  22. final val connectionMonitors: Map[ActorRef, MongoConnection]

    Attributes
    protected
    Definition Classes
    Driver
  23. def ensuring(cond: (AsyncDriver) ⇒ Boolean, msg: ⇒ Any): AsyncDriver

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  37. final val supervisorName: String

    Attributes
    protected
    Definition Classes
    Driver
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. val system: ActorSystem

    Definition Classes
    Driver
  40. def toString(): String

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from AsyncDriver to ArrowAssoc[AsyncDriver] 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 AsyncDriver 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:
    (asyncDriver: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AsyncDriver 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:
    (asyncDriver: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

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

    Creates a new MongoConnection.

    Creates a new MongoConnection.

    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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Use connect without authencations (but possibily with credentials on options)

  2. def x: AsyncDriver

    Implicit information
    This member is added by an implicit conversion from AsyncDriver to ArrowAssoc[AsyncDriver] 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:
    (asyncDriver: ArrowAssoc[AsyncDriver]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: AsyncDriver

    Implicit information
    This member is added by an implicit conversion from AsyncDriver to Ensuring[AsyncDriver] 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:
    (asyncDriver: Ensuring[AsyncDriver]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Driver

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AsyncDriver to StringAdd

Inherited by implicit conversion any2stringfmt from AsyncDriver to StringFormat

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

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

Ungrouped