michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
248 stars 203 forks source link

Migrate to mongo-java-driver 3.x #100

Closed pwojnowski closed 9 years ago

pwojnowski commented 9 years ago

Fixed two errors introduced during migration to the new API. Migrated use of Mongo API to 3.x. (Document, Filters, Sorts, etc.) Part of code moved to separate methods/classes and renamed for readability. Using Iterables instead of cursors and finds (they mostly took 1-2 docs from DB). Didn't use Java 7 features, so no need to drop support for Java 6, yet.

michaelklishin commented 9 years ago

Thank you, the new responsibility split is a real improvement.