Package de.caluga.morphium.driver
Klasse WriteConcern
java.lang.Object
de.caluga.morphium.driver.WriteConcern
define how secure the write should be. most important the w value which states the number of nodes written to:
0: no error handling
1: master only
>1: number of nodes
-1: all available replicase nodes
-2: majority
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasMap()intgetW()static WriteConcerngetWc(int w, boolean j, int wtimeout) int
-
Methodendetails
-
getWc
-
getW
public int getW() -
getWtimeout
public int getWtimeout() -
asMap
-