MongoClient 初始化
List<ServerAddress>
MongoCredential
MongoClientOptions<br>
MultiServerCluster
ClusterId
ClusterType
ClusterSettings
DefaultClusterableServerFactory
addressToServerTupleMap(ServerAddress -> DefaultServer)
ServerId
DefaultConnectionPool
ConnectionPoolSettings
ConcurrentPool
maxSize
UsageTrackingInternalConnectionItemFactory
InternalStreamConnectionFactory
List<Authenticator>
StreamFactory
ConcurrentLinkedDeque<UsageTrackingInternalConnection><br>
Runnable maintenanceTask
ScheduledExecutorService sizeMaintenanceTimer
DefaultConnectionFactory
DefaultServerMonitorFactory
ServerSettings
InternalStreamConnectionFactory
DefaultConnectionPool
获取或创建连接
MongoTemplate
MongoClientDelegate$DelegateOperationExecutor<br>
FindOperation
ClusterBindingConnectionSource
DefaultServer
DefaultConnectionPool
ConcurrentPool
UsageTrackingInternalConnectionItemFactory
InternalStreamConnectionFactory
InternalStreamConnection
InternalStreamConnectionInitializer