Class TransactionLogEvent

  • All Implemented Interfaces:

    public class TransactionLogEvent
    extends com.couchbase.client.core.cnc.AbstractEvent
    If TransactionConfig.logDirectly() has been set, transaction logging will be output via these events. Does not extend TransactionEvent, to avoid problems with logging being written twice. And also as EventBusPersistedLogger writes a TransactionLogEvent via SimpleEventBusLogger if it fails, so we don't want it to get caught in a recursive failure loop.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event

        com.couchbase.client.core.cnc.Event.Category, com.couchbase.client.core.cnc.Event.Severity
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String DEFAULT_CATEGORY  
      • Fields inherited from interface com.couchbase.client.core.cnc.Event

    • Constructor Summary

      Constructor Description
      TransactionLogEvent​(com.couchbase.client.core.cnc.Event.Severity severity, java.lang.String category, java.lang.String msg)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String description()  
      • 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

    • Field Detail


        public static java.lang.String DEFAULT_CATEGORY
    • Constructor Detail

      • TransactionLogEvent

        public TransactionLogEvent​(com.couchbase.client.core.cnc.Event.Severity severity,
                                   java.lang.String category,
                                   java.lang.String msg)
    • Method Detail

      • description

        public java.lang.String description()