Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
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(MongoClientSettings settings)
Create a new client with the given client settings.
|
static MongoClient |
MongoClients.create(String connectionString)
Create a new client with the given connection string.
|
Copyright © 2016. All Rights Reserved.