Packages

o

org.mongodb.scala

CreateIndexCommitQuorum

object CreateIndexCommitQuorum

The commit quorum specifies how many data-bearing members of a replica set, including the primary, must complete the index builds successfully before the primary marks the indexes as ready.

Since

4.1

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateIndexCommitQuorum
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val MAJORITY: com.mongodb.CreateIndexCommitQuorum

    A create index commit quorum of majority.

  2. val VOTING_MEMBERS: com.mongodb.CreateIndexCommitQuorum

    A create index commit quorum of voting members.

  3. def create(w: Int): com.mongodb.CreateIndexCommitQuorum

    Create a create index commit quorum with a w value.

    Create a create index commit quorum with a w value.

    w

    the w value

  4. def create(mode: String): com.mongodb.CreateIndexCommitQuorum

    Create a create index commit quorum with a mode value.

    Create a create index commit quorum with a mode value.

    mode

    the mode value