CreateIndexCommitQuorum

io.github.zeal18.zio.mongodb.driver.indexes.CreateIndexCommitQuorum$
See theCreateIndexCommitQuorum companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case object Disabled extends CreateIndexCommitQuorum

Disables quorum-voting behavior.

Disables quorum-voting behavior.

Members start the index build simultaneously but do not vote or wait for quorum before completing the index build. If you start an index build with the disabled commit quorum, you cannot later modify the commit quorum using setIndexCommitQuorum.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object Majority extends CreateIndexCommitQuorum

A simple majority of data-bearing voting replica set members

A simple majority of data-bearing voting replica set members

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
final case class ReplicaSetMembers(amount: Int) extends CreateIndexCommitQuorum

A specific number of data-bearing voting replica set members.

A specific number of data-bearing voting replica set members.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ReplicaSetTag(name: String) extends CreateIndexCommitQuorum

A replica set tag name.

A replica set tag name.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

All data-bearing voting replica set members (Default)

All data-bearing voting replica set members (Default)

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(replicaSetAmount: Int): CreateIndexCommitQuorum
def apply(replicaSetTag: String): CreateIndexCommitQuorum

Concrete fields