Class TransactionEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.transaction.TransactionEvent
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
CleanupFailedEvent
,IllegalDocumentStateEvent
,TransactionCleanupAttemptEvent
,TransactionCleanupEndRunEvent
,TransactionCleanupStartRunEvent
,TransactionLogEvent
,TransactionsStartedEvent
All transaction events derive from this.
TransactionEvents at WARN or ERROR level are intended for serious issues that should be investigated, e.g. they should not just be logged. All applications should be listening for and handling events at this level.
At INFO or below they can convey various events that the application can ignore, but may be useful to be programmatically handled.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ModifierConstructorDescriptionprotected
TransactionEvent
(Event.Severity severity, String category) -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.couchbase.client.core.cnc.Event
cause, description
-
Field Details
-
DEFAULT_CATEGORY
- See Also:
-
-
Constructor Details
-
TransactionEvent
-