Uses of Class
com.couchbase.client.core.transaction.CoreTransactionAttemptContext
Package
Description
-
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.error.transaction
Modifier and TypeMethodDescriptionDocumentAlreadyInTransactionException.create
(CoreTransactionAttemptContext ctx, CoreTransactionGetResult doc) -
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction
Modifier and TypeMethodDescriptionCoreTransactionsReactive.createAttemptContext
(CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId) Modifier and TypeMethodDescriptionAccessorUtil.operationFailed
(CoreTransactionAttemptContext ctx, TransactionOperationFailedException err) protected String
CoreTransactionAttemptContext.randomAtrIdForVbucket
(CoreTransactionAttemptContext self, Integer vbucketIdForDoc, int numAtrs) Modifier and TypeMethodDescriptionCoreTransactionsReactive.executeTransaction
(Mono<CoreTransactionAttemptContext> createAttempt, CoreMergedTransactionConfig config, CoreTransactionContext overall, Function<CoreTransactionAttemptContext, Mono<Void>> transactionLogic, boolean singleQueryTransactionMode) The main transactions 'engine', responsible for attempting the transaction logic as many times as required, until the transaction commits, is explicitly rolled back, or expires.CoreTransactionsReactive.executeTransaction
(Mono<CoreTransactionAttemptContext> createAttempt, CoreMergedTransactionConfig config, CoreTransactionContext overall, Function<CoreTransactionAttemptContext, Mono<Void>> transactionLogic, boolean singleQueryTransactionMode) The main transactions 'engine', responsible for attempting the transaction logic as many times as required, until the transaction commits, is explicitly rolled back, or expires.CoreTransactionsReactive.run
(Function<CoreTransactionAttemptContext, Mono<?>> transactionLogic, CoreTransactionOptions perConfig) Runs the supplied transactional logic until success or failure. -
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction.support
Modifier and TypeMethodDescriptionTransactionAttemptContextFactory.create
(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) Modifier and TypeMethodDescriptionstatic SpanWrapper
SpanWrapperUtil.createOp
(CoreTransactionAttemptContext ctx, RequestTracer tracer, CollectionIdentifier collection, String id, String op, SpanWrapper attemptSpan) static SpanWrapper
SpanWrapperUtil.setAttributes
(SpanWrapper out, CoreTransactionAttemptContext ctx, CollectionIdentifier collection, String id) -
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction.threadlocal
-
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction.util
Modifier and TypeFieldDescriptionCoreTransactionAttemptContextHooks.afterAtrAborted
CoreTransactionAttemptContextHooks.afterAtrCommit
CoreTransactionAttemptContextHooks.afterAtrComplete
CoreTransactionAttemptContextHooks.afterAtrPending
CoreTransactionAttemptContextHooks.afterAtrRolledBack
CoreTransactionAttemptContextHooks.afterDocCommitted
CoreTransactionAttemptContextHooks.afterDocCommittedBeforeSavingCAS
CoreTransactionAttemptContextHooks.afterDocRemovedPostRetry
CoreTransactionAttemptContextHooks.afterDocRemovedPreRetry
CoreTransactionAttemptContextHooks.afterDocsCommitted
CoreTransactionAttemptContextHooks.afterDocsRemoved
CoreTransactionAttemptContextHooks.afterGetComplete
CoreTransactionAttemptContextHooks.afterQuery
CoreTransactionAttemptContextHooks.afterRemoveStagedInsert
CoreTransactionAttemptContextHooks.afterRollbackDeleteInserted
CoreTransactionAttemptContextHooks.afterRollbackReplaceOrRemove
CoreTransactionAttemptContextHooks.afterStagedInsertComplete
CoreTransactionAttemptContextHooks.afterStagedRemoveComplete
CoreTransactionAttemptContextHooks.afterStagedReplaceComplete
CoreTransactionAttemptContextHooks.beforeAtrAborted
CoreTransactionAttemptContextHooks.beforeAtrCommit
CoreTransactionAttemptContextHooks.beforeAtrCommitAmbiguityResolution
CoreTransactionAttemptContextHooks.beforeAtrComplete
CoreTransactionAttemptContextHooks.beforeAtrPending
CoreTransactionAttemptContextHooks.beforeAtrRolledBack
CoreTransactionAttemptContextHooks.beforeCheckATREntryForBlockingDoc
CoreTransactionAttemptContextHooks.beforeDocChangedDuringCommit
CoreTransactionAttemptContextHooks.beforeDocChangedDuringRollback
CoreTransactionAttemptContextHooks.beforeDocChangedDuringStaging
CoreTransactionAttemptContextHooks.beforeDocCommitted
CoreTransactionAttemptContextHooks.beforeDocGet
CoreTransactionAttemptContextHooks.beforeDocRemoved
CoreTransactionAttemptContextHooks.beforeDocRolledBack
CoreTransactionAttemptContextHooks.beforeGetDocInExistsDuringStagedInsert
CoreTransactionAttemptContextHooks.beforeOverwritingStagedInsertRemoval
CoreTransactionAttemptContextHooks.beforeQuery
CoreTransactionAttemptContextHooks.beforeRemoveStagedInsert
CoreTransactionAttemptContextHooks.beforeRollbackDeleteInserted
CoreTransactionAttemptContextHooks.beforeStagedInsert
CoreTransactionAttemptContextHooks.beforeStagedRemove
CoreTransactionAttemptContextHooks.beforeStagedReplace
CoreTransactionAttemptContextHooks.beforeUnlockGet
CoreTransactionAttemptContextHooks.beforeUnlockInsert
CoreTransactionAttemptContextHooks.beforeUnlockQuery
CoreTransactionAttemptContextHooks.beforeUnlockRemove
CoreTransactionAttemptContextHooks.beforeUnlockReplace
CoreTransactionAttemptContextHooks.hasExpiredClientSideHook
CoreTransactionAttemptContextHooks.randomAtrIdForVbucket
Modifier and TypeMethodDescriptionTestTransactionAttemptContextFactory.create
(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) ModifierConstructorDescriptionReactiveLock
(CoreTransactionAttemptContext ctx, boolean debugMode) ReactiveWaitGroup
(CoreTransactionAttemptContext ctx, boolean debugMode)