Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Field and Description |
---|---|
private MongoClientSettings |
MongoClientImpl.settings |
Modifier and Type | Method and Description |
---|---|
MongoClientSettings |
MongoClientSettings.Builder.build()
Build an instance of
MongoClientSettings . |
MongoClientSettings |
MongoClient.getSettings()
Gets the settings that this client uses to connect to server.
|
MongoClientSettings |
MongoClientImpl.getSettings() |
Modifier and Type | Method and Description |
---|---|
static MongoClientSettings.Builder |
MongoClientSettings.builder(MongoClientSettings settings)
Convenience method to create a from an existing
MongoClientSettings . |
static MongoClient |
MongoClients.create(MongoClientSettings settings)
Create a new client with the given client settings.
|
static MongoClient |
MongoClients.create(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation)
Creates a new client with the given client settings.
|
(package private) static MongoClient |
NettyMongoClients.create(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation) |
private static MongoClient |
MongoClients.create(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation,
java.lang.String requestedStreamType) |
(package private) static MongoClient |
MongoClients.createMongoClient(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.io.Closeable externalResourceCloser) |
private static AsyncOperationExecutor |
MongoClientImpl.createOperationExecutor(MongoClientSettings settings,
Cluster cluster) |
Constructor and Description |
---|
Builder(MongoClientSettings settings)
Creates a Builder from an existing
MongoClientSettings . |
MongoClientImpl(MongoClientSettings settings,
Cluster cluster,
AsyncOperationExecutor executor) |
MongoClientImpl(MongoClientSettings settings,
Cluster cluster,
AsyncOperationExecutor executor,
java.io.Closeable externalResourceCloser) |
MongoClientImpl(MongoClientSettings settings,
Cluster cluster,
java.io.Closeable externalResourceCloser) |