Contains classes that manage connecting to MongoDB servers.
Interface Summary Interface Description AsyncCompletionHandler<T>Completion handler for asynchronous I/O. BufferProviderA provider of instances of ByteBuf. StreamA full duplex stream of bytes. StreamFactoryA factory for streams. StreamFactoryFactoryA factory of
Class Summary Class Description AsynchronousSocketChannelStreamFactoryFactory to create a Stream that's an AsynchronousSocketChannelStream. AsynchronousSocketChannelStreamFactoryFactoryA
StreamFactoryFactoryimplementation for AsynchronousSocketChannel-based streams.
AsynchronousSocketChannelStreamFactoryFactory.BuilderA builder for an instance of
ClusterDescriptionImmutable snapshot state of a cluster. ClusterIdA client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone. ClusterSettingsSettings for the cluster. ClusterSettings.BuilderA builder for the cluster settings. ConnectionDescriptionA description of a connection to a MongoDB server. ConnectionIdAn immutable connection identifier of a connection to a MongoDB server. ConnectionPoolSettingsAll settings that relate to the pool of connections to a MongoDB server. ConnectionPoolSettings.BuilderA builder for creating ConnectionPoolSettings. ServerDescriptionImmutable snapshot state of a server. ServerDescription.BuilderA builder for creating ServerDescription. ServerIdA client-generated identifier that uniquely identifies a MongoDB server. ServerSettingsSettings relating to monitoring of each server. ServerSettings.BuilderA builder for the settings. ServerVersionHolds an array of three integers representing the server version, e.g. SocketSettingsAn immutable class representing socket settings used for connections to a MongoDB server. SocketSettings.BuilderA builder for an instance of
SocketStreamFactoryFactory for creating instances of
SslSettingsSettings for connecting to MongoDB via SSL. SslSettings.BuilderA builder for creating SSLSettings. TlsChannelStreamFactoryFactoryA
StreamFactoryFactorythat supports TLS/SSL.
Enum Summary Enum Description ClusterConnectionModeThe cluster connection mode. ClusterTypeAn enumeration of all possible cluster types. ServerConnectionStateEnum of the current state of attempting to connect to a server. ServerTypeThe type of the server.