Class TransactionCleanupAttemptEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.transaction.TransactionEvent
-
- com.couchbase.client.core.cnc.events.transaction.TransactionCleanupAttemptEvent
-
- All Implemented Interfaces:
Event
@Uncommitted public class TransactionCleanupAttemptEvent extends TransactionEvent
Emitted when the lost transactions cleanup process discovered a lost transaction and attempted to clean it up.Contains whether this attempt was successful, and all logs related to the attempt.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.core.cnc.events.transaction.TransactionEvent
DEFAULT_CATEGORY
-
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description TransactionCleanupAttemptEvent(Event.Severity severity, boolean success, boolean isRegular, List<TransactionLogEvent> logs, String attemptId, String atrId, CollectionIdentifier atrCollection, CleanupRequest req, String addlDebug)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
atrBucket()
Deprecated.CollectionIdentifier
atrCollection()
String
atrId()
String
attemptId()
String
description()
A textual description with more information about the event.List<TransactionLogEvent>
logs()
boolean
success()
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
TransactionCleanupAttemptEvent
public TransactionCleanupAttemptEvent(Event.Severity severity, boolean success, boolean isRegular, List<TransactionLogEvent> logs, String attemptId, String atrId, CollectionIdentifier atrCollection, CleanupRequest req, String addlDebug)
-
-
Method Detail
-
logs
public List<TransactionLogEvent> logs()
-
success
public boolean success()
-
attemptId
public String attemptId()
-
atrId
public String atrId()
-
atrBucket
@Deprecated public String atrBucket()
Deprecated.
-
atrCollection
public CollectionIdentifier atrCollection()
-
-