Package | Description |
---|---|
com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncConnectionSource.getConnection(SingleResultCallback<AsyncConnection> callback)
Gets a connection from this source.
|
Constructor and Description |
---|
AsyncSingleConnectionReadBinding(ReadPreference readPreference,
ServerDescription serverDescription,
AsyncConnection connection)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
AsyncConnection |
AsyncConnection.retain() |
Modifier and Type | Method and Description |
---|---|
void |
Server.getConnectionAsync(SingleResultCallback<AsyncConnection> callback)
Gets a connection to this server asynchronously.
|
Copyright © 2018. All rights reserved.