public class WriteConcern extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getW() |
static WriteConcern |
getWc(int w,
boolean fsync,
boolean j,
int wtimeout) |
int |
getWtimeout() |
boolean |
isFsync() |
boolean |
isJ() |
com.mongodb.WriteConcern |
toMongoWriteConcern() |
public static WriteConcern getWc(int w, boolean fsync, boolean j, int wtimeout)
public com.mongodb.WriteConcern toMongoWriteConcern()
public int getW()
public boolean isJ()
public boolean isFsync()
public int getWtimeout()
Copyright © 2020. All rights reserved.