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
public interface AsyncWriteOperation<T>
An operation which asynchronously writes to a MongoDB server.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeAsync(AsyncWriteBinding binding, SingleResultCallback<T> callback)
General execute which can return anything of type T
-
-
-
Method Detail
-
executeAsync
void executeAsync(AsyncWriteBinding binding, SingleResultCallback<T> callback)
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
-
-