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.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
BaseWriteOperation.executeCommandProtocolAsync(AsyncConnection connection,
SingleResultCallback<BulkWriteResult> callback)
Asynchronously executes the write command protocol.
|
protected void |
UpdateOperation.executeCommandProtocolAsync(AsyncConnection connection,
SingleResultCallback<BulkWriteResult> callback) |
protected void |
DeleteOperation.executeCommandProtocolAsync(AsyncConnection connection,
SingleResultCallback<BulkWriteResult> callback) |
protected void |
InsertOperation.executeCommandProtocolAsync(AsyncConnection connection,
SingleResultCallback<BulkWriteResult> callback) |
protected abstract void |
BaseWriteOperation.executeProtocolAsync(AsyncConnection connection,
SingleResultCallback<WriteConcernResult> callback)
Asynchronously executes the write protocol
|
protected void |
UpdateOperation.executeProtocolAsync(AsyncConnection connection,
SingleResultCallback<WriteConcernResult> callback) |
protected void |
DeleteOperation.executeProtocolAsync(AsyncConnection connection,
SingleResultCallback<WriteConcernResult> callback) |
protected void |
InsertOperation.executeProtocolAsync(AsyncConnection connection,
SingleResultCallback<WriteConcernResult> callback) |
Copyright © 2016. All Rights Reserved.