Annotation Interface Document


Identifies a domain object to be persisted to Couchbase.
Author:
Michael Nitschinger, Andrey Rubtsov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    An optional expiry time for the document.
    Same as expiry() but allows the actual value to be set using standard Spring property sources mechanism.
    An optional time unit for the document's expiry(), if set.
    com.couchbase.client.java.query.QueryScanConsistency
    An optional string indicating the query scan consistency
    boolean
    An optional flag associated with expiry() indicating whether the expiry timer should be reset whenever the document is directly read (eg. findByOne, findById).