class MongoConnectionOptions extends Product with Serializable
Options for MongoConnection.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoConnectionOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to any2stringadd[MongoConnectionOptions] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (MongoConnectionOptions, B)
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to ArrowAssoc[MongoConnectionOptions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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()
- val authenticationDatabase: Option[String]
- val authenticationMechanism: AuthenticationMode
-
def
canEqual(that: Any): Boolean
- Definition Classes
- MongoConnectionOptions → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val connectTimeoutMS: Int
- 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
- val credentials: Map[String, Credential]
-
def
ensuring(cond: (MongoConnectionOptions) ⇒ Boolean, msg: ⇒ Any): MongoConnectionOptions
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to Ensuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (MongoConnectionOptions) ⇒ Boolean): MongoConnectionOptions
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to Ensuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): MongoConnectionOptions
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to Ensuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): MongoConnectionOptions
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to Ensuring[MongoConnectionOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- MongoConnectionOptions → Equals → AnyRef → Any
- val failoverStrategy: FailoverStrategy
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to StringFormat[MongoConnectionOptions] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- MongoConnectionOptions → AnyRef → Any
- val heartbeatFrequencyMS: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAlive: Boolean
- val keyStore: Option[KeyStore]
- val maxHistorySize: Int
- val maxIdleTimeMS: Int
- val maxInFlightRequestsPerChannel: Option[Int]
- val nbChannelsPerNode: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
- val readConcern: ReadConcern
- val readPreference: ReadPreference
- val sslAllowsInvalidCert: Boolean
- val sslEnabled: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tcpNoDelay: Boolean
-
def
toString(): String
- Definition Classes
- MongoConnectionOptions → AnyRef → Any
-
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
- @native() @throws( ... )
- val writeConcern: commands.WriteConcern
-
def
→[B](y: B): (MongoConnectionOptions, B)
- Implicit
- This member is added by an implicit conversion from MongoConnectionOptions to ArrowAssoc[MongoConnectionOptions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
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
-
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
-
def
monitorRefreshMS: Int
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.16.4) Use heartbeatFrequencyMS
-
val
productArity: Int
- Definition Classes
- MongoConnectionOptions → Product
- Annotations
- @deprecated
- Deprecated
(Since version 0.17.0) Will no longer be a
Product
-
def
productElement(n: Int): Any
- Definition Classes
- MongoConnectionOptions → Product
- Annotations
- @deprecated
- Deprecated
(Since version 0.17.0) Will no longer be a
Product