Package com.couchbase.transactions.log
Class IllegalDocumentState
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.transactions.log.TransactionEvent
-
- com.couchbase.transactions.log.IllegalDocumentState
-
- All Implemented Interfaces:
com.couchbase.client.core.cnc.Event
public class IllegalDocumentState extends TransactionEvent
Indicates that a document has been modified by a non-transactional write while it is in a transaction.The application must protect against this.
-
-
Constructor Summary
Constructors Constructor Description IllegalDocumentState​(com.couchbase.client.core.cnc.Event.Severity severity, java.lang.String msg, java.lang.String docId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
java.lang.String
docId()
boolean
success()
Provided so the app check if this event is regarded as a success, and if not, output any logs it has.-
Methods inherited from class com.couchbase.transactions.log.TransactionEvent
logs
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Method Detail
-
description
public java.lang.String description()
-
docId
public java.lang.String docId()
-
success
public boolean success()
Description copied from class:TransactionEvent
Provided so the app check if this event is regarded as a success, and if not, output any logs it has.- Specified by:
success
in classTransactionEvent
-
-