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