Class CleanupFailedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.transactions.log.TransactionEvent
-
- com.couchbase.transactions.cleanup.CleanupFailedEvent
-
- All Implemented Interfaces:
com.couchbase.client.core.cnc.Event
public class CleanupFailedEvent extends TransactionEvent
The cleanup attempt failed and was unable to cleanly return a CleanupResultEvent with !success
-
-
Constructor Summary
Constructors Constructor Description CleanupFailedEvent​(CleanupRequest req, java.lang.Throwable err)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
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
-
-
-
-
Constructor Detail
-
CleanupFailedEvent
public CleanupFailedEvent​(CleanupRequest req, java.lang.Throwable err)
-
-
Method Detail
-
description
public java.lang.String description()
-
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
-
-