Annotation Interface Durability
Durability annotation
- Author:
- Tigran Babloyan
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSame asdurabilityLevel()
but allows the actual value to be set using standard Spring property sources mechanism.com.couchbase.client.core.msg.kv.DurabilityLevel
The optional durabilityLevel for all mutating operations, allows the application to wait until this replication (or persistence) is successful before proceeding
-
Element Details
-
durabilityLevel
com.couchbase.client.core.msg.kv.DurabilityLevel durabilityLevelThe optional durabilityLevel for all mutating operations, allows the application to wait until this replication (or persistence) is successful before proceeding- Default:
- NONE
-
durabilityExpression
String durabilityExpressionSame asdurabilityLevel()
but allows the actual value to be set using standard Spring property sources mechanism. Only one might be set at the same time: eitherdurabilityLevel()
ordurabilityExpression()
.
Syntax is the same as forPropertyResolver.resolveRequiredPlaceholders(String)
.
SpEL is NOT supported.- Default:
- ""
-