Options for MongoConnection (see more documentation).
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
An optional application name
The name of the database used for authentication
The name of the database used for authentication
Attributes
Either ScramSha1Authentication or X509Authentication
The list of allowed compressors (e.g. snappy
)
The number of milliseconds to wait for a connection to be established before giving up.
The number of milliseconds to wait for a connection to be established before giving up.
Attributes
The credentials per authentication database names
The credentials per authentication database names
Attributes
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation.
Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that
objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int.
(o1.hashCode.equals(o2.hashCode)
).
Attributes
- that
the object to compare against this object for equality.
- Returns:
true
if the receiver object is equivalent to the argument;false
otherwise.- Definition Classes
- Any
The default failover strategy
The default failover strategy
Attributes
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet
not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
.
However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have
identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure
to verify that the behavior is consistent with the equals
method.
Attributes
- Returns:
the hash code value for this object.
- Definition Classes
- Any
The interval in milliseconds used by monitor to refresh the node set (default: 10000 aka 10s)
The interval in milliseconds used by monitor to refresh the node set (default: 10000 aka 10s)
Attributes
TCP KeepAlive flag (ReactiveMongo-specific option). The default value is false (see SO_KEEPALIVE).
TCP KeepAlive flag (ReactiveMongo-specific option). The default value is false (see SO_KEEPALIVE).
Attributes
The maximum size of the pool history (default: 25)
The maximum size of the pool history (default: 25)
Attributes
The maximum number of milliseconds that a channel can remain idle in the connection pool before being removed and closed (default: 0 to disable, as implemented using Netty IdleStateHandler); If not 0, must be greater or equal to heartbeatFrequencyMS.
The maximum number of milliseconds that a channel can remain idle in the connection pool before being removed and closed (default: 0 to disable, as implemented using Netty IdleStateHandler); If not 0, must be greater or equal to heartbeatFrequencyMS.
Attributes
The maximum number of requests processed per channel
The maximum number of requests processed per channel
Attributes
'''EXPERIMENTAL:'''
'''EXPERIMENTAL:'''
Attributes
The minimum number of idle channels per node
The minimum number of idle channels per node
Attributes
The number of channels (connections) per node (ReactiveMongo-specific option)
The number of channels (connections) per node (ReactiveMongo-specific option)
Attributes
The number of threads in the netty event loop. 0 lets Netty decide, which by default will select 2 times the number of available processors.
The number of threads in the netty event loop. 0 lets Netty decide, which by default will select 2 times the number of available processors.
Attributes
The default read concern
The default read preference
The default read preference
Attributes
If sslEnabled
is true, this one indicates whether
to accept invalid certificates (e.g. self-signed).
If sslEnabled
is true, this one indicates whether
to accept invalid certificates (e.g. self-signed).
Attributes
Enable SSL connection (required to be accepted on server-side)
Enable SSL connection (required to be accepted on server-side)
Attributes
TCP NoDelay flag (ReactiveMongo-specific option). The default value is false (see TCP_NODELAY).
TCP NoDelay flag (ReactiveMongo-specific option). The default value is false (see TCP_NODELAY).
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Any
'''EXPERIMENTAL:'''
'''EXPERIMENTAL:'''
Attributes
The default write concern