public static class MongoDBSyncConfiguration.WriteConcernLevel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static MongoDBSyncConfiguration.WriteConcernLevel |
MAJORITY_WITH_JOURNAL |
| Constructor and Description |
|---|
WriteConcernLevel() |
WriteConcernLevel(java.lang.String w,
java.time.Duration wTimeoutMs,
java.lang.Boolean journal) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStringW() |
int |
getW() |
java.time.Duration |
getwTimeoutMs() |
java.lang.Boolean |
isJournal() |
void |
setJournal(java.lang.Boolean journal) |
void |
setW(java.lang.Object w) |
void |
setwTimeoutMs(java.time.Duration wTimeoutMs) |
public static final MongoDBSyncConfiguration.WriteConcernLevel MAJORITY_WITH_JOURNAL
public WriteConcernLevel(java.lang.String w,
java.time.Duration wTimeoutMs,
java.lang.Boolean journal)
public WriteConcernLevel()
public int getW()
public java.lang.String getStringW()
public void setW(java.lang.Object w)
public java.time.Duration getwTimeoutMs()
public void setwTimeoutMs(java.time.Duration wTimeoutMs)
public java.lang.Boolean isJournal()
public void setJournal(java.lang.Boolean journal)