Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoClients.create(ConnectionString connectionString)
Create a new client with the given connection string.
|
Modifier and Type | Method and Description |
---|---|
ConnectionPoolSettings.Builder |
ConnectionPoolSettings.Builder.applyConnectionString(ConnectionString connectionString)
Takes connection pool settings from the given connection string and applies them to this builder.
|
SocketSettings.Builder |
SocketSettings.Builder.applyConnectionString(ConnectionString connectionString)
Apply any socket settings specified in the connection string to this builder.
|
SslSettings.Builder |
SslSettings.Builder.applyConnectionString(ConnectionString connectionString)
Take the settings from the given ConnectionString and set them in this builder.
|
ClusterSettings.Builder |
ClusterSettings.Builder.applyConnectionString(ConnectionString connectionString)
Take the settings from the given ConnectionString and add them to the builder
|
Copyright © 2016. All Rights Reserved.