Package de.caluga.morphium.annotations
Annotation Interface 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
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintboolean
-
Element Details
-
timeout
int timeout- Default:
- 0
-
level
SafetyLevel level- Default:
- NORMAL
-
waitForJournalCommit
boolean waitForJournalCommit- Default:
- false
-