Package com.couchbase.transactions.log
Class TransactionsStarted
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.transactions.log.TransactionEvent
-
- com.couchbase.transactions.log.TransactionsStarted
-
- All Implemented Interfaces:
com.couchbase.client.core.cnc.Event
public class TransactionsStarted extends TransactionEvent
An event that's fired when aTransactions
object is successfully created. The main intent is for the user to be able to verify that the event bus logging is configured correctly.
-
-
Constructor Summary
Constructors Constructor Description TransactionsStarted​(MergedTransactionConfig config)
-
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.transactions.log.TransactionEvent
logs
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Constructor Detail
-
TransactionsStarted
public TransactionsStarted​(MergedTransactionConfig config)
-
-
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 classTransactionEvent
-
-