Package com.mongodb.operation
Interface AsyncWriteOperation<T>
- Type Parameters:
T- the operations result type.
- All Known Implementing Classes:
AbortTransactionOperation,AggregateToCollectionOperation,BaseFindAndModifyOperation,BaseWriteOperation,CommandWriteOperation,CommitTransactionOperation,CreateCollectionOperation,CreateIndexesOperation,CreateUserOperation,CreateViewOperation,DeleteOperation,DropCollectionOperation,DropDatabaseOperation,DropIndexOperation,DropUserOperation,FindAndDeleteOperation,FindAndReplaceOperation,FindAndUpdateOperation,InsertOperation,MapReduceToCollectionOperation,MixedBulkWriteOperation,RenameCollectionOperation,TransactionOperation,UpdateOperation,UpdateUserOperation
Deprecated.
An operation which asynchronously writes to a MongoDB server.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAsync(AsyncWriteBinding binding, SingleResultCallback<T> callback) Deprecated.General execute which can return anything of type T
-
Method Details
-
executeAsync
Deprecated.General execute which can return anything of type T- Parameters:
binding- the binding to execute in the context ofcallback- the callback to be called when the operation has been executed
-