Class TransactionLogEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.transaction.TransactionEvent
com.couchbase.client.core.cnc.events.transaction.TransactionLogEvent
- All Implemented Interfaces:
Event
A transaction log message.
Includes a timestamp as the usual flow is that all of the buffered logs for a transaction are being written by the application at the same time.
-
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
ConstructorDescriptionTransactionLogEvent
(long timestamp, long threadId, String threadName, String transactionId, String secondaryId, String fmt, Object[] values, Event.Severity level) -
Method Summary
Modifier and TypeMethodDescriptionA textual description with more information about the event.toString()
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity
-
Field Details
-
CHARS_TO_LOG
public static final int CHARS_TO_LOG- See Also:
-
-
Constructor Details
-
TransactionLogEvent
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractEvent
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-