Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1976

Clarify WriteConcern methods that take string values for w

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: None
    • Component/s: Documentation
    • None

      Currently, the API documentation is confusing for the withW method and the WriteConcern(final String w, final int wtimeout, final boolean fsync, final boolean j) .

      It should be clarified that when using strings either "majority" or the tag set name should be used. String representations of integers won't work.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: