@Deprecated public static class WriteConcern.Majority extends WriteConcern
WriteConcern.Majority
ACKNOWLEDGED, FSYNC_SAFE, FSYNCED, JOURNAL_SAFE, JOURNALED, MAJORITY, NORMAL, REPLICA_ACKNOWLEDGED, REPLICAS_SAFE, SAFE, UNACKNOWLEDGED, W1, W2, W3
Constructor and Description |
---|
Majority()
Deprecated.
Create a new Majority WriteConcern.
|
Majority(int wtimeout,
boolean fsync,
boolean j)
Deprecated.
Create a new WriteConcern with the given configuration.
|
asDocument, callGetLastError, equals, fsync, getFsync, getJ, getJournal, getW, getWObject, getWString, getWtimeout, getWTimeout, hashCode, isAcknowledged, isServerDefault, majorityWriteConcern, toString, valueOf, withFsync, withJ, withJournal, withW, withW, withWTimeout
public Majority()
public Majority(int wtimeout, boolean fsync, boolean j)
wtimeout
- timeout for write operationfsync
- whether or not to fsyncj
- whether writes should wait for a journaling group commit