Class TransactionsStartedEvent
- java.lang.Object
-
- com.couchbase.client.core.cnc.AbstractEvent
-
- com.couchbase.client.core.cnc.events.transaction.TransactionEvent
-
- com.couchbase.client.core.cnc.events.transaction.TransactionsStartedEvent
-
- All Implemented Interfaces:
Event
@Uncommitted public class TransactionsStartedEvent extends TransactionEvent
An event that's fired when transactions are successfully initialised. 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
Event.Category, Event.Severity
-
-
Field Summary
-
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 TransactionsStartedEvent(boolean runLostAttemptsCleanupThread, boolean runRegularAttemptsCleanupThread)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
A textual description with more information about the event.boolean
runningLostAttemptsCleanupThread()
boolean
runningRegularAttemptsCleanupThread()
-
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
-
-
-
Method Detail
-
description
public String description()
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-
runningLostAttemptsCleanupThread
public boolean runningLostAttemptsCleanupThread()
-
runningRegularAttemptsCleanupThread
public boolean runningRegularAttemptsCleanupThread()
-
-