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

Deprecate unnecessary WriteConcern methods and constants

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: None
    • Component/s: API, Write Operations
    • None

      The following constants, constructors, methods, and inner class of the WriteConcern class will be deprecated:

      Constants:

      • FSYNCED
      • REPLICA_ACKNOWLEDGED
      • NORMAL
      • SAFE
      • FSYNC_SAFE
      • JOURNAL_SAFE
      • REPLICAS_SAFE

      Constructors:

      • WriteConcern()
      • WriteConcern(boolean)
      • WriteConcern(int, int, boolean)
      • WriteConcern(int, int, boolean, boolean)
      • WriteConcern(java.lang.String, int, boolean, boolean)

      Methods:

      • getFsync
      • sync
      • callGetLastError
      • withFsync
      • majorityWriteConcern

      Inner classes

      • Majority

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

              Created:
              Updated:
              Resolved: