Package com.mongodb

Class WriteConcern.Majority

    • Constructor Detail

      • Majority

        public Majority​()
        Deprecated. 
        Create a new Majority WriteConcern.
      • Majority

        public Majority​(int wtimeout,
                        boolean fsync,
                        boolean j)
        Deprecated. 
        Create a new WriteConcern with the given configuration.
        Parameters:
        wtimeout - timeout for write operation
        fsync - whether or not to fsync
        j - whether writes should wait for a journaling group commit