public interface UESMongoWriteConcern
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACKNOWLEDGED
Write operations that use this write concern will wait for acknowledgement from the primary server before returning.
|
static java.lang.String |
ERRORS_IGNORED
No exceptions are raised, even for network issues.
|
static java.lang.String |
FSYNCED
Exceptions are raised for network issues, and server errors; the write operation waits for the server to flush
the data to disk.
|
static java.lang.String |
JOURNALED
Exceptions are raised for network issues, and server errors; the write operation waits for the server to
group commit to the journal file on disk.
|
static java.lang.String |
MAJORITY
Exceptions are raised for network issues, and server errors; waits on a majority of servers for the write operation.
|
static java.lang.String |
REPLICA_ACKNOWLEDGED
Exceptions are raised for network issues, and server errors; waits for at least 2 servers for the write operation.
|
static java.lang.String |
UNACKNOWLEDGED
Write operations that use this write concern will return as soon as the message is written to the socket.
|