Package com.mongodb.connection
@NonNullApi
package com.mongodb.connection
Contains classes that manage connecting to MongoDB servers.
-
ClassDescriptionCompletion handler for asynchronous I/O.The cluster connection mode.Immutable snapshot state of a cluster.A client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone.Settings for the cluster.A builder for the cluster settings.An enumeration of all possible cluster types.A description of a connection to a MongoDB server.An immutable connection identifier of a connection to a MongoDB server.All settings that relate to the pool of connections to a MongoDB server.A builder for creating ConnectionPoolSettings.
TransportSettings
for a Netty-based transport implementation.A builder for an instance ofNettyTransportSettings
.This setting is only applicable when communicating with a MongoDB server using the synchronous variant ofMongoClient
.A builder for an instance ofProxySettings
.Enum of the current state of attempting to connect to a server.Immutable snapshot state of a server.A builder for creating ServerDescription.A client-generated identifier that uniquely identifies a MongoDB server.Settings relating to monitoring of each server.A builder for the settings.The type of the server.Holds an array of three integers representing the server version, e.g.An immutable class representing socket settings used for connections to a MongoDB server.A builder for an instance ofSocketSettings
.Settings for connecting to MongoDB via SSL.A builder for creating SSLSettings.The topology version of a cluster.Transport settings for the driver.