Class ExistsResult


  • public class ExistsResult
    extends Object
    Result returned from an exists KeyValue operation.
    Since:
    3.0.0
    • Method Detail

      • cas

        @Volatile
        public long cas()
        If the document is present, returns its current CAS value at the time of the exists operation.

        Note that if the document does not exist, this will return 0!

      • exists

        public boolean exists()
        True if the document exists, false otherwise.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object