Package com.mongodb.connection
@NonNullApi
package com.mongodb.connection
Contains classes that manage connecting to MongoDB servers.
-
ClassDescriptionCompletion handler for asynchronous I/O.Factory to create a Stream that's an AsynchronousSocketChannelStream.A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.A builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.A provider of instances of ByteBuf.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.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
.Factory for creating instances ofSocketStream
.Settings for connecting to MongoDB via SSL.A builder for creating SSLSettings.A full duplex stream of bytes.A factory for streams.A factory ofStreamFactory
instances.AStreamFactoryFactory
that supports TLS/SSL.The topology version of a cluster.