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
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
ConstructorDescriptionTransactionCleanupAttemptEvent
(Event.Severity severity, boolean success, boolean isRegular, List<TransactionLogEvent> logs, String attemptId, String atrId, CollectionIdentifier atrCollection, CleanupRequest req, String addlDebug) -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
TransactionCleanupAttemptEvent
public TransactionCleanupAttemptEvent(Event.Severity severity, boolean success, boolean isRegular, List<TransactionLogEvent> logs, String attemptId, String atrId, CollectionIdentifier atrCollection, CleanupRequest req, String addlDebug)
-
-
Method Details
-
logs
-
success
public boolean success() -
attemptId
-
atrId
-
atrBucket
Deprecated. -
atrCollection
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-