Package de.caluga.morphium.annotations
Annotation Type WriteSafety
-
@Target(TYPE) @Retention(RUNTIME) public @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: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 Elements Modifier and Type Optional Element Description SafetyLevellevelinttimeoutbooleanwaitForJournalCommit
-
-
-
-
level
SafetyLevel level
- Default:
- de.caluga.morphium.annotations.SafetyLevel.NORMAL
-
-