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 public interface AsyncReadOperation<T>
Deprecated.
An operation which asynchronously reads from a MongoDB server.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    General execute which can return anything of type T
  • Method Details

    • 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 of
      callback - the callback to be called when the operation has been executed