Uses of Class
com.couchbase.client.core.transaction.CoreTransactionAttemptContext
Packages that use CoreTransactionAttemptContext
Package
Description
-
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.error.transaction
Methods in com.couchbase.client.core.error.transaction with parameters of type CoreTransactionAttemptContextModifier and TypeMethodDescriptionDocumentAlreadyInTransactionException.create
(CoreTransactionAttemptContext ctx, CoreTransactionGetResult doc) -
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction
Methods in com.couchbase.client.core.transaction that return CoreTransactionAttemptContextModifier and TypeMethodDescriptionCoreTransactionsReactive.createAttemptContext
(CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId) Methods in com.couchbase.client.core.transaction with parameters of type CoreTransactionAttemptContextModifier and TypeMethodDescriptionAccessorUtil.operationFailed
(CoreTransactionAttemptContext ctx, TransactionOperationFailedException err) protected String
CoreTransactionAttemptContext.randomAtrIdForVbucket
(CoreTransactionAttemptContext self, Integer vbucketIdForDoc, int numAtrs) Method parameters in com.couchbase.client.core.transaction with type arguments of type CoreTransactionAttemptContextModifier 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
Methods in com.couchbase.client.core.transaction.support that return CoreTransactionAttemptContextModifier and TypeMethodDescriptionTransactionAttemptContextFactory.create
(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) Methods in com.couchbase.client.core.transaction.support with parameters of type CoreTransactionAttemptContextModifier 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
Methods in com.couchbase.client.core.transaction.threadlocal that return CoreTransactionAttemptContextConstructors in com.couchbase.client.core.transaction.threadlocal with parameters of type CoreTransactionAttemptContext -
Uses of CoreTransactionAttemptContext in com.couchbase.client.core.transaction.util
Fields in com.couchbase.client.core.transaction.util with type parameters of type CoreTransactionAttemptContextModifier 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
Methods in com.couchbase.client.core.transaction.util that return CoreTransactionAttemptContextModifier and TypeMethodDescriptionTestTransactionAttemptContextFactory.create
(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) Constructors in com.couchbase.client.core.transaction.util with parameters of type CoreTransactionAttemptContextModifierConstructorDescriptionReactiveLock
(CoreTransactionAttemptContext ctx, boolean debugMode) ReactiveWaitGroup
(CoreTransactionAttemptContext ctx, boolean debugMode)