public class DocumentConcurrentlyModifiedException extends CouchbaseException implements OriginalMutationResult
Exception indicating that the document which is observed has been modified in the meantime.
Constructor and Description |
---|
DocumentConcurrentlyModifiedException(String message,
Long cas) |
Modifier and Type | Method and Description |
---|---|
long |
mutationCas()
If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
|
details, details, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public long mutationCas()
OriginalMutationResult
If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
mutationCas
in interface OriginalMutationResult
Copyright © 2018 Couchbase, Inc.. All rights reserved.