Annotationsschnittstelle WriteSafety
User: Stephan Bösebeck
Date: 26.05.12
Time: 16:31
See WriteConcern in MongoDB Java-Driver... for additional information
WaitForSync: wait for the write to be synced to disk timeout: set a timeout in ms for the operation - if set to 0, unlimited (default). If set to negative value, wait relative to replication lag level: set the safety level:
WaitForSync: wait for the write to be synced to disk timeout: set a timeout in ms for the operation - if set to 0, unlimited (default). If set to negative value, wait relative to replication lag level: set the safety level:
IGNORE_ERRORSNone, no checking is doneNORMALNone, network socket errors raisedBASICChecks server for errors as well as network socket errors raisedWAIT_FOR_SLAVEChecks servers (at lease 2) for errors as well as network socket errors raised
-
Optionale Elemente - Übersicht
Optionale ElementeModifikator und TypOptionales ElementBeschreibungintboolean
-
Elementdetails
-
timeout
int timeout- Standard:
0
-
level
SafetyLevel level- Standard:
NORMAL
-
waitForJournalCommit
boolean waitForJournalCommit- Standard:
false
-