Interface OriginalMutationResult

All Known Implementing Classes:
DocumentConcurrentlyModifiedException, DocumentMutationLostException, ReplicaNotAvailableException, ReplicaNotConfiguredException

public interface OriginalMutationResult
Represents mutation metadata which can be inspected after a mutation and during/after is respective observe poll cycles.
  • Method Summary

    Modifier and Type Method Description
    long mutationCas()
    If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
  • Method Details

    • mutationCas

      long mutationCas()
      If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
      Returns:
      a long case value or an exception otherwise.
      Throws:
      IllegalStateException - if the originating operation was not a mutation operation in the first place.