Annotation Interface Durability


@Inherited @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface Durability
Durability annotation
Author:
Tigran Babloyan
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Same as durabilityLevel() 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 durabilityLevel
      The optional durabilityLevel for all mutating operations, allows the application to wait until this replication (or persistence) is successful before proceeding
      Default:
      NONE
    • durabilityExpression

      String durabilityExpression
      Same as durabilityLevel() but allows the actual value to be set using standard Spring property sources mechanism. Only one might be set at the same time: either durabilityLevel() or durabilityExpression().
      Syntax is the same as for PropertyResolver.resolveRequiredPlaceholders(String).
      SpEL is NOT supported.
      Default:
      ""