Simplify Operations by uniting Sync and Async operations by rozza · Pull Request #1776 · mongodb/mongo-java-driver
…e interface. Merged Async Read / Write Operations into their sync operations counterparts. * AsyncWriteOperation into WriteOperation is a simple merge * AsyncReadOperation into ReadOperation requires an additional type parameter This is due to async and sync cursors have different types. Added extra ReadOperations interfaces to represent: * Read operations that return the same type for sync / async * Read operations that represent cursors Removed SyncOperations and AsyncOperations builders which both use the same Operations builder class. JAVA-4900
rozza
marked this pull request as ready for review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters