Package com.couchbase.client.core
Class DocumentMutationLostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.CouchbaseException
com.couchbase.client.core.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.Methods inherited from class com.couchbase.client.core.CouchbaseException
details, details, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DocumentMutationLostException
-
-
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 interfaceOriginalMutationResult
- Returns:
- a long case value or an exception otherwise.
-