Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MongoClientImpl |
Modifier and Type | Method and Description |
---|---|
static MongoClient |
MongoClients.create()
Creates a new client with the default connection string "mongodb://localhost".
|
static MongoClient |
MongoClients.create(ConnectionString connectionString)
Create a new client with the given connection string.
|
static MongoClient |
MongoClients.create(ConnectionString connectionString,
MongoDriverInformation mongoDriverInformation)
Create a new client with the given connection string.
|
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) |
static MongoClient |
MongoClients.create(java.lang.String connectionString)
Create a new client with the given connection string as if by a call to
MongoClients.create(ConnectionString) . |
(package private) static MongoClient |
MongoClients.createMongoClient(MongoClientSettings settings,
MongoDriverInformation mongoDriverInformation,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
java.io.Closeable externalResourceCloser) |