- builder
Creates a builder instance.
- getConnectionsPerHost
The maximum number of connections allowed per host for this MongoClient
instance. Those connections
- getConnectTimeout
The connection timeout in milliseconds. A value of 0 means no timeout. It is
used solely when establ
- getMaxWaitTime
The maximum wait time in milliseconds that a thread may wait for a connection to
become available.
- getThreadsAllowedToBlockForConnectionMultiplier
This multiplier, multiplied with the connectionsPerHost setting, gives the
maximum number of threads
- getWriteConcern
The write concern to use.
Default is WriteConcern.ACKNOWLEDGED.
- getCodecRegistry
The codec registry to use. By default, a MongoClient will be able to encode and
decode instances of
- getReadPreference
The read preference to use for queries, map-reduce, aggregation, and count.
Default is ReadPreferen
- getSocketFactory
The socket factory for creating sockets to the mongo server.
Default is SocketFactory.getDefault()
- getSocketTimeout
The socket timeout in milliseconds. It is used for I/O socket read and write
operations java.net.Soc
- isSocketKeepAlive
This flag controls the socket keep-alive feature that keeps a connection alive
through firewalls jav
- equals