@@ -21,8 +21,8 @@ public interface Collection {
2121 * store.
2222 *
2323 * <p>Note: This method ensures that all the fields defined in the `Document` are set/created. How
24- * the existing fields are modified is implementation specific. For example, upserting <code>
25- * { "foo2": "bar2" }
24+ * the existing fields are modified is implementation specific. For example, upserting <code> {
25+ * "foo2": "bar2" }
2626 * </code> if a document <code>
2727 * { "foo1": "bar1" }
2828 * </code> already exists would ensure that "foo2" is set the value of "bar2" and what happens to
@@ -42,8 +42,8 @@ public interface Collection {
4242 * store.
4343 *
4444 * <p>Note: This method ensures that all the fields defined in the `Document` are set/created. How
45- * the existing fields are modified is implementation specific. For example, upserting <code>
46- * { "foo2": "bar2" }
45+ * the existing fields are modified is implementation specific. For example, upserting <code> {
46+ * "foo2": "bar2" }
4747 * </code> if a document <code>
4848 * { "foo1": "bar1" }
4949 * </code> already exists would ensure that "foo2" is set the value of "bar2" and what happens to
@@ -405,7 +405,8 @@ CloseableIterator<Document> bulkUpdate(
405405 * <p>This method supports all update operators (SET, UNSET, ADD, APPEND_TO_LIST,
406406 * ADD_TO_LIST_IF_ABSENT, REMOVE_ALL_FROM_LIST). Updates for each individual key are applied
407407 * atomically, but there is no atomicity guarantee across different keys - some keys may be
408- * updated while others fail. Any atomicity guarantees are implementation-specific.
408+ * updated while others fail. Batch-level atomicity is not guaranteed, while per-key update
409+ * atomicity is guaranteed.
409410 *
410411 * <p>Example usage:
411412 *
0 commit comments