Class WriteConcernConfig


  • public class WriteConcernConfig
    extends Object
    Configures the write concern.
    • Field Detail

      • safe

        @ConfigItem(defaultValue="true")
        public boolean safe
        Configures the safety. If set to true: the driver ensures that all writes are acknowledged by the MongoDB server, or else throws an exception. (see also w and wtimeoutMS). If set fo
      • false: the driver does not ensure that all writes are acknowledged by the MongoDB server.
  • Constructor Detail

    • WriteConcernConfig

      public WriteConcernConfig()