Class TransactionsStarted

  • All Implemented Interfaces:
    com.couchbase.client.core.cnc.Event

    public class TransactionsStarted
    extends TransactionEvent
    An event that's fired when a Transactions object is successfully created. The main intent is for the user to be able to verify that the event bus logging is configured correctly.
    • 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
    • Method Summary

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

      • description

        public java.lang.String description()
      • success

        public boolean success()
        Description copied from class: TransactionEvent
        Provided so the app check if this event is regarded as a success, and if not, output any logs it has.
        Specified by:
        success in class TransactionEvent