Class TransactionsCleaner
java.lang.Object
com.couchbase.client.core.transaction.cleanup.TransactionsCleaner
Handles cleaning up expired/lost transactions.
- Author:
- Graham Pople
-
Constructor Summary
ConstructorDescriptionTransactionsCleaner
(Core core, CleanerHooks hooks, CoreTransactionsSupportedExtensions supported) -
Method Summary
Modifier and TypeMethodDescriptioncleanupATREntry
(CollectionIdentifier atrCollection, String atrId, String attemptId, ActiveTransactionRecordEntry atrEntry, boolean isRegularCleanup) Kept purely for backwards compatibility with FIT performer.hooks()
performCleanup
(CleanupRequest req, boolean isRegularCleanup, SpanWrapper pspan)
-
Constructor Details
-
TransactionsCleaner
public TransactionsCleaner(Core core, CleanerHooks hooks, CoreTransactionsSupportedExtensions supported)
-
-
Method Details
-
cleanupATREntry
public Mono<TransactionCleanupAttemptEvent> cleanupATREntry(CollectionIdentifier atrCollection, String atrId, String attemptId, ActiveTransactionRecordEntry atrEntry, boolean isRegularCleanup) Kept purely for backwards compatibility with FIT performer. -
performCleanup
public Mono<TransactionCleanupAttemptEvent> performCleanup(CleanupRequest req, boolean isRegularCleanup, @Nullable SpanWrapper pspan) -
hooks
-