WriteConcern
class WriteConcern(val acknowledgment: WriteAcknowledgment? = null, val writeToJournal: Boolean? = null, val writeTimeout: <Error class: unknown class>? = null)(source)
The level of acknowledgment requested from a write operation.
Constructors
Link copied to clipboard
constructor(acknowledgment: WriteAcknowledgment? = null, writeToJournal: Boolean? = null, writeTimeout: <Error class: unknown class>? = null)
Properties
Link copied to clipboard
Describes how many nodes must acknowledge the write operation.
Link copied to clipboard
Specifies a time limit for a write operation to propagate to enough members to achieve acknowledgment and writeToJournal.
Link copied to clipboard
Specifies whether the write operation must acknowledge being written to the journal.
Functions
Link copied to clipboard
fun copy(acknowledgment: WriteAcknowledgment? = null, writeToJournal: Boolean? = null, writeTimeout: <Error class: unknown class>? = null): WriteConcern