Annotation Interface WithConsistency

@Documented @Target(METHOD) @Retention(RUNTIME) public @interface WithConsistency
Annotation to set the scan consistency of N1QL queries with Couchbase. This controls whether couchbase waits for all changes to be processed by an index or whether stale results are acceptable.

If not set, the default consistency set in AbstractCouchbaseConfiguration.getDefaultConsistency() is used.

Johannes Jasper.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
  • Element Details

    • value value