object MongoConnectionOptions extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoConnectionOptions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
Credential(user: String, password: Option[String]) extends Product with Serializable
- user
the name (or subject) of the user
- password
the associated password if some
-
case class
KeyStore(resource: URI, password: Option[Array[Char]], storeType: String) extends Product with Serializable
- resource
the ressource to load as key store
- password
the password to load the store
- storeType
the type of the key store (e.g.
PKCS12
)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
default: MongoConnectionOptions
The default options
The default options
- Annotations
- @inline()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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( ... )
Deprecated Value Members
-
def
apply(connectTimeoutMS: Int = 0, authenticationDatabase: Option[String] = None, sslEnabled: Boolean = false, sslAllowsInvalidCert: Boolean = false, authenticationMechanism: AuthenticationMode = ScramSha1Authentication, tcpNoDelay: Boolean = false, keepAlive: Boolean = false, nbChannelsPerNode: Int = 10, reconnectDelayMS: Int = 1000, writeConcern: commands.WriteConcern = WC.Default, readPreference: ReadPreference = ReadPreference.primary, failoverStrategy: FailoverStrategy = FailoverStrategy.default, heartbeatFrequencyMS: Int = 10000, maxIdleTimeMS: Int = 0, maxHistorySize: Int = 25, credentials: Map[String, Credential] = Map.empty, keyStore: Option[KeyStore] = Option.empty, readConcern: ReadConcern = ReadConcern.default): MongoConnectionOptions
- Annotations
- @deprecated
- Deprecated
(Since version 0.17.0) Use
MongoConnectionOptions
constructor