Uses of Class
com.couchbase.client.core.transaction.support.SpanWrapper
Packages that use SpanWrapper
Package
Description
-
Uses of SpanWrapper in com.couchbase.client.core.transaction
Methods in com.couchbase.client.core.transaction that return SpanWrapperMethods in com.couchbase.client.core.transaction with parameters of type SpanWrapperModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T> CoreTransactionAttemptContext.doQueryOperation(String lockDebugIn, String statement, SpanWrapper pspan, TriFunction<Integer, AtomicReference<ReactiveLock.Waiter>, SpanWrapper, reactor.core.publisher.Mono<T>> op) Doesn't need everything from doKVOperation, as queryWrapper already centralises a lot of logicreactor.core.publisher.Mono<CoreTransactionGetResult> CoreTransactionAttemptContext.insert(CollectionIdentifier collection, String id, byte[] content, int flagsToStage, SpanWrapper pspan) Inserts a new document into the specified Couchbasecollection.reactor.core.publisher.Mono<CoreTransactionGetResult> CoreTransactionAttemptContext.insert(CollectionIdentifier collection, String id, byte[] content, SpanWrapper pspan) Deprecated.reactor.core.publisher.Mono<ClassicCoreReactiveQueryResult> CoreTransactionAttemptContext.queryWrapperLocked(int sidx, CoreQueryContext qc, String statement, CoreQueryOptions options, String hookPoint, boolean isBeginWork, boolean existingErrorCheck, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode txdata, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ArrayNode params, SpanWrapper span, boolean tximplicit, AtomicReference<ReactiveLock.Waiter> lockToken, boolean updateInternalState) This will return a TransactionOperationFailedException if that's what query returns, else will return the error after passing through convertQueryError.reactor.core.publisher.Mono<Void> CoreTransactionAttemptContext.remove(CoreTransactionGetResult doc, SpanWrapper pspan) Removes the specifieddoc, using the document's lastCoreTransactionGetResult.cas().reactor.core.publisher.Mono<CoreTransactionGetResult> CoreTransactionAttemptContext.replace(CoreTransactionGetResult doc, byte[] content, int flags, SpanWrapper pspan) Mutates the specifieddocwith new content, using the document's lastCoreTransactionGetResult.cas().reactor.core.publisher.Mono<CoreTransactionGetResult> CoreTransactionAttemptContext.replace(CoreTransactionGetResult doc, byte[] content, SpanWrapper pspan) Deprecated.in favor ofCoreTransactionAttemptContext.replace(CoreTransactionGetResult, byte[], int, SpanWrapper)which takes an additional 'flags' argument.Method parameters in com.couchbase.client.core.transaction with type arguments of type SpanWrapperModifier and TypeMethodDescription<T> reactor.core.publisher.Mono<T> CoreTransactionAttemptContext.doQueryOperation(String lockDebugIn, String statement, SpanWrapper pspan, TriFunction<Integer, AtomicReference<ReactiveLock.Waiter>, SpanWrapper, reactor.core.publisher.Mono<T>> op) Doesn't need everything from doKVOperation, as queryWrapper already centralises a lot of logicConstructor parameters in com.couchbase.client.core.transaction with type arguments of type SpanWrapperModifierConstructorDescriptionCoreTransactionAttemptContext(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan, CoreTransactionAttemptContextHooks hooks) -
Uses of SpanWrapper in com.couchbase.client.core.transaction.cleanup
Methods in com.couchbase.client.core.transaction.cleanup with parameters of type SpanWrapperModifier and TypeMethodDescriptionreactor.core.publisher.Mono<CoreSubdocGetResult> ClientRecord.getClientRecord(CollectionIdentifier collection, SpanWrapper span) reactor.core.publisher.Flux<TransactionCleanupAttemptEvent> LostCleanupDistributed.handleATRCleanup(String bp, CollectionIdentifier atrCollection, String atrId, ActiveTransactionRecordStats stats, Duration safetyMargin, SpanWrapper pspan) Looks at an ATR, finds any expired entries, and cleans them up.reactor.core.publisher.Mono<TransactionCleanupAttemptEvent> TransactionsCleaner.performCleanup(CleanupRequest req, boolean isRegularCleanup, SpanWrapper pspan) reactor.core.publisher.Mono<ClientRecordDetails> ClientRecord.processClient(String clientUuid, CollectionIdentifier collection, CoreTransactionsConfig config, SpanWrapper pspan) -
Uses of SpanWrapper in com.couchbase.client.core.transaction.components
Methods in com.couchbase.client.core.transaction.components with parameters of type SpanWrapperModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<Optional<ActiveTransactionRecordEntry>> ActiveTransactionRecord.findEntryForTransaction(Core core, CollectionIdentifier atrCollection, String atrId, String attemptId, CoreMergedTransactionConfig config, SpanWrapper pspan, CoreTransactionLogger logger) static reactor.core.publisher.Mono<Optional<ActiveTransactionRecordEntry>> ActiveTransactionRecord.findEntryForTransaction(Core core, CollectionIdentifier atrCollection, String atrId, String attemptId, CoreMergedTransactionConfig config, SpanWrapper pspan, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, Duration timeout) static reactor.core.publisher.Mono<Optional<CoreTransactionGetResult>> DocumentGetter.getAsync(Core core, CoreTransactionLogger LOGGER, CollectionIdentifier collection, CoreMergedTransactionConfig config, String docId, String byAttemptId, boolean justReturn, SpanWrapper span, Optional<String> resolvingMissingATREntry, MeteringUnits.MeteringUnitsBuilder units, CoreTransactionsSupportedExtensions supported, boolean preferredReplicaMode) static reactor.core.publisher.Mono<Optional<ActiveTransactionRecords>> ActiveTransactionRecord.getAtr(Core core, CollectionIdentifier atrCollection, String atrId, Duration timeout, SpanWrapper pspan) TXNJ-13: Get the ATR.static reactor.core.publisher.Mono<Optional<reactor.util.function.Tuple2<CoreTransactionGetResult, CoreSubdocGetResult>>> DocumentGetter.justGetDoc(Core core, CollectionIdentifier collection, String docId, Duration timeout, SpanWrapper span, boolean accessDeleted, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, boolean preferredReplicaMode) static reactor.core.publisher.Mono<Optional<CoreTransactionGetResult>> DocumentGetter.lookupStatusFromATR(Core core, CollectionIdentifier collection, CoreTransactionGetResult doc, String byAttemptId, CoreMergedTransactionConfig config, SpanWrapper span, CoreTransactionLogger logger, MeteringUnits.MeteringUnitsBuilder units, CoreTransactionsSupportedExtensions supported) -
Uses of SpanWrapper in com.couchbase.client.core.transaction.support
Methods in com.couchbase.client.core.transaction.support that return SpanWrapperModifier and TypeMethodDescription<T> SpanWrapperstatic SpanWrapperSpanWrapper.create(RequestTracer tracer, String op, SpanWrapper parent) static SpanWrapperSpanWrapperUtil.createOp(CoreTransactionAttemptContext ctx, RequestTracer tracer, CollectionIdentifier collection, String id, String op, SpanWrapper attemptSpan) <T> SpanWrapperSpanWrapper.lowCardinalityAttribute(String key, T value) static SpanWrapperSpanWrapperUtil.setAttributes(SpanWrapper out, CoreTransactionAttemptContext ctx, CollectionIdentifier collection, String id) Methods in com.couchbase.client.core.transaction.support with parameters of type SpanWrapperModifier and TypeMethodDescriptionstatic SpanWrapperSpanWrapper.create(RequestTracer tracer, String op, SpanWrapper parent) static SpanWrapperSpanWrapperUtil.createOp(CoreTransactionAttemptContext ctx, RequestTracer tracer, CollectionIdentifier collection, String id, String op, SpanWrapper attemptSpan) static SpanWrapperSpanWrapperUtil.setAttributes(SpanWrapper out, CoreTransactionAttemptContext ctx, CollectionIdentifier collection, String id) Method parameters in com.couchbase.client.core.transaction.support with type arguments of type SpanWrapperModifier and TypeMethodDescriptionTransactionAttemptContextFactory.create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan) -
Uses of SpanWrapper in com.couchbase.client.core.transaction.util
Methods in com.couchbase.client.core.transaction.util with parameters of type SpanWrapperModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<InsertResponse> TransactionKVHandler.insert(Core core, CollectionIdentifier collectionIdentifier, String id, byte[] transcodedContent, int flags, Duration timeout, Optional<DurabilityLevel> durabilityLevel, Map<String, Object> clientContext, SpanWrapper pspan) static reactor.core.publisher.Mono<CoreSubdocGetResult> TransactionKVHandler.lookupIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean accessDeleted, Map<String, Object> clientContext, SpanWrapper pspan, boolean preferredReplicaMode, List<SubdocGetRequest.Command> commands) static reactor.core.publisher.Mono<SubdocMutateResponse> TransactionKVHandler.mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, int userFlags, Optional<DurabilityLevel> durabilityLevel, Map<String, Object> clientContext, SpanWrapper span, List<SubdocMutateRequest.Command> commands) static reactor.core.publisher.Mono<SubdocMutateResponse> TransactionKVHandler.mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, int userFlags, Optional<DurabilityLevel> durabilityLevel, Map<String, Object> clientContext, SpanWrapper pspan, List<SubdocMutateRequest.Command> commands, CoreTransactionLogger logger) static reactor.core.publisher.Mono<RemoveResponse> TransactionKVHandler.remove(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String, Object> clientContext, SpanWrapper pspan) Method parameters in com.couchbase.client.core.transaction.util with type arguments of type SpanWrapperModifier and TypeMethodDescriptionTestTransactionAttemptContextFactory.create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan)
CoreTransactionAttemptContext.insert(CollectionIdentifier, String, byte[], int, SpanWrapper)which takes an additional 'flags' argument.