Class TransactionEvent

    • 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

      • Fields inherited from interface com.couchbase.client.core.cnc.Event

        CATEGORY_PREFIX
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TransactionEvent​(com.couchbase.client.core.cnc.Event.Severity severity, java.lang.String category)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<LogDefer> logs()  
      abstract boolean success()
      Provided so the app check if this event is regarded as a success, and if not, output any logs it has.
      • 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
    • Constructor Detail

      • TransactionEvent

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

      • success

        @Volatile
        public abstract boolean success()
        Provided so the app check if this event is regarded as a success, and if not, output any logs it has.
      • logs

        @Volatile
        public java.util.List<LogDefer> logs()