Package com.mongodb.operation
Interface AsyncReadOperation<T>
- Type Parameters:
T
- the operations result type.
- All Known Implementing Classes:
AggregateOperation
,ChangeStreamOperation
,CommandReadOperation
,CountOperation
,DistinctOperation
,FindOperation
,GroupOperation
,ListCollectionsOperation
,ListDatabasesOperation
,ListIndexesOperation
,MapReduceWithInlineResultsOperation
,ParallelCollectionScanOperation
,UserExistsOperation
Deprecated.
An operation which asynchronously reads from a MongoDB server.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeAsync
(AsyncReadBinding 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
-