class MongoConnectionOptions extends Product with Serializable

Options for MongoConnection.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoConnectionOptions
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toany2stringadd[MongoConnectionOptions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MongoConnectionOptions, B)
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toArrowAssoc[MongoConnectionOptions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def appName: Option[String]

    The application name (custom or default)

    The application name (custom or default)

    Annotations
    @inline()
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def authMode: AuthenticationMode

    The database source for authentication credentials (corresponds to the authenticationMechanism with MongoShell).

    The database source for authentication credentials (corresponds to the authenticationMechanism with MongoShell).

    Annotations
    @inline()
  9. val authenticationDatabase: Option[String]
  10. val authenticationMechanism: AuthenticationMode
  11. def canEqual(that: Any): Boolean
    Definition Classes
    MongoConnectionOptions → Equals
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. val connectTimeoutMS: Int
  14. def copy(connectTimeoutMS: Int = this.connectTimeoutMS, authenticationDatabase: Option[String] = this.authenticationDatabase, sslEnabled: Boolean = this.sslEnabled, sslAllowsInvalidCert: Boolean = this.sslAllowsInvalidCert, authenticationMechanism: AuthenticationMode = this.authenticationMechanism, tcpNoDelay: Boolean = this.tcpNoDelay, keepAlive: Boolean = this.keepAlive, nbChannelsPerNode: Int = this.nbChannelsPerNode, maxInFlightRequestsPerChannel: Option[Int] = this.maxInFlightRequestsPerChannel, writeConcern: commands.WriteConcern = this.writeConcern, readPreference: ReadPreference = this.readPreference, failoverStrategy: FailoverStrategy = this.failoverStrategy, heartbeatFrequencyMS: Int = this.heartbeatFrequencyMS, maxIdleTimeMS: Int = this.maxIdleTimeMS, maxHistorySize: Int = this.maxHistorySize, credentials: Map[String, Credential] = this.credentials, keyStore: Option[KeyStore] = this.keyStore, readConcern: ReadConcern = this.readConcern): MongoConnectionOptions
  15. val credentials: Map[String, Credential]
  16. def ensuring(cond: (MongoConnectionOptions) => Boolean, msg: => Any): MongoConnectionOptions
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toEnsuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (MongoConnectionOptions) => Boolean): MongoConnectionOptions
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toEnsuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): MongoConnectionOptions
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toEnsuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): MongoConnectionOptions
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toEnsuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(that: Any): Boolean
    Definition Classes
    MongoConnectionOptions → Equals → AnyRef → Any
  22. val failoverStrategy: FailoverStrategy
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toStringFormat[MongoConnectionOptions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    MongoConnectionOptions → AnyRef → Any
  26. val heartbeatFrequencyMS: Int
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val keepAlive: Boolean
  29. val keyStore: Option[KeyStore]
  30. val maxHistorySize: Int
  31. val maxIdleTimeMS: Int
  32. val maxInFlightRequestsPerChannel: Option[Int]
  33. val nbChannelsPerNode: Int
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def productElementName(n: Int): String
    Definition Classes
    Product
  38. def productElementNames: Iterator[String]
    Definition Classes
    Product
  39. def productIterator: Iterator[Any]
    Definition Classes
    Product
  40. def productPrefix: String
    Definition Classes
    Product
  41. val readConcern: ReadConcern
  42. val readPreference: ReadPreference
  43. val sslAllowsInvalidCert: Boolean
  44. val sslEnabled: Boolean
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. val tcpNoDelay: Boolean
  47. def toString(): String
    Definition Classes
    MongoConnectionOptions → AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. val writeConcern: commands.WriteConcern

Deprecated Value Members

  1. def authSource: Option[String]

    The database source for authentication credentials (corresponds to the authenticationDatabase with MongoShell).

    The database source for authentication credentials (corresponds to the authenticationDatabase with MongoShell).

    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.12.7) Use authenticationDatabase

  2. def copy(connectTimeoutMS: Int, authenticationDatabase: Option[String], sslEnabled: Boolean, sslAllowsInvalidCert: Boolean, authenticationMechanism: AuthenticationMode, tcpNoDelay: Boolean, keepAlive: Boolean, nbChannelsPerNode: Int, reconnectDelayMS: Int, writeConcern: commands.WriteConcern, readPreference: ReadPreference, failoverStrategy: FailoverStrategy, heartbeatFrequencyMS: Int, maxIdleTimeMS: Int, maxHistorySize: Int, credentials: Map[String, Credential], keyStore: Option[KeyStore], readConcern: ReadConcern): MongoConnectionOptions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Use the other copy

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def monitorRefreshMS: Int
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.16.4) Use heartbeatFrequencyMS

  5. val productArity: Int
    Definition Classes
    MongoConnectionOptions → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Will no longer be a Product

  6. def productElement(n: Int): Any
    Definition Classes
    MongoConnectionOptions → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Will no longer be a Product

  7. def [B](y: B): (MongoConnectionOptions, B)
    Implicit
    This member is added by an implicit conversion from MongoConnectionOptions toArrowAssoc[MongoConnectionOptions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromMongoConnectionOptions to any2stringadd[MongoConnectionOptions]

Inherited by implicit conversion StringFormat fromMongoConnectionOptions to StringFormat[MongoConnectionOptions]

Inherited by implicit conversion Ensuring fromMongoConnectionOptions to Ensuring[MongoConnectionOptions]

Inherited by implicit conversion ArrowAssoc fromMongoConnectionOptions to ArrowAssoc[MongoConnectionOptions]

Ungrouped