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
public class TransactionLogEvent extends TransactionEvent
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 Modifier and Type Field Description static int
CHARS_TO_LOG
-
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 TransactionLogEvent(long timestamp, long threadId, String threadName, String transactionId, String secondaryId, String fmt, Object[] values, Event.Severity level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
A textual description with more information about the event.String
toString()
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity
-
-
-
-
Field Detail
-
CHARS_TO_LOG
public static final int CHARS_TO_LOG
- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classAbstractEvent
-
-