Class DocumentMutationLostException

All Implemented Interfaces:
OriginalMutationResult, Serializable

public class DocumentMutationLostException extends CouchbaseException implements OriginalMutationResult
The observed document was lost during a hard failover, because the document did not reach the replica in time.
Since:
1.2.0
Author:
Michael Nitschinger
See Also:
  • Constructor Details

    • DocumentMutationLostException

      public DocumentMutationLostException(String message, Long cas)
  • Method Details

    • mutationCas

      public long mutationCas()
      Description copied from interface: OriginalMutationResult
      If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
      Specified by:
      mutationCas in interface OriginalMutationResult
      Returns:
      a long case value or an exception otherwise.