Uses of Class
com.couchbase.client.core.transaction.support.SpanWrapper
-
-
Uses of SpanWrapper in com.couchbase.client.core.transaction
Methods in com.couchbase.client.core.transaction that return SpanWrapper Modifier and Type Method Description SpanWrapper
CoreTransactionContext. span()
Methods in com.couchbase.client.core.transaction with parameters of type SpanWrapper Modifier and Type Method Description <T> Mono<T>
CoreTransactionAttemptContext. doQueryOperation(String lockDebugIn, String statement, SpanWrapper pspan, TriFunction<Integer,AtomicReference<ReactiveLock.Waiter>,SpanWrapper,Mono<T>> op)
Doesn't need everything from doKVOperation, as queryWrapper already centralises a lot of logicMono<CoreTransactionGetResult>
CoreTransactionAttemptContext. insert(CollectionIdentifier collection, String id, byte[] content, SpanWrapper pspan)
Inserts a new document into the specified Couchbasecollection
.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.Mono<Void>
CoreTransactionAttemptContext. remove(CoreTransactionGetResult doc, SpanWrapper pspan)
Removes the specifieddoc
, using the document's lastCoreTransactionGetResult.cas()
.Mono<CoreTransactionGetResult>
CoreTransactionAttemptContext. replace(CoreTransactionGetResult doc, byte[] content, SpanWrapper pspan)
Mutates the specifieddoc
with new content, using the document's lastCoreTransactionGetResult.cas()
.Method parameters in com.couchbase.client.core.transaction with type arguments of type SpanWrapper Modifier and Type Method Description <T> Mono<T>
CoreTransactionAttemptContext. doQueryOperation(String lockDebugIn, String statement, SpanWrapper pspan, TriFunction<Integer,AtomicReference<ReactiveLock.Waiter>,SpanWrapper,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 SpanWrapper Constructor Description CoreTransactionAttemptContext(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 SpanWrapper Modifier and Type Method Description Mono<SubdocGetResponse>
ClientRecord. getClientRecord(CollectionIdentifier collection, SpanWrapper span)
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.Mono<TransactionCleanupAttemptEvent>
TransactionsCleaner. performCleanup(CleanupRequest req, boolean isRegularCleanup, SpanWrapper pspan)
Mono<ClientRecordDetails>
ClientRecord. processClient(String clientUuid, CollectionIdentifier collection, CoreTransactionsConfig config, SpanWrapper pspan)
-
Uses of SpanWrapper in com.couchbase.client.core.transaction.components
-
Uses of SpanWrapper in com.couchbase.client.core.transaction.support
Methods in com.couchbase.client.core.transaction.support that return SpanWrapper Modifier and Type Method Description <T> SpanWrapper
SpanWrapper. attribute(String key, T value)
static SpanWrapper
SpanWrapper. create(RequestTracer tracer, String op, SpanWrapper parent)
static 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)
Methods in com.couchbase.client.core.transaction.support with parameters of type SpanWrapper Modifier and Type Method Description static SpanWrapper
SpanWrapper. create(RequestTracer tracer, String op, SpanWrapper parent)
static 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)
Method parameters in com.couchbase.client.core.transaction.support with type arguments of type SpanWrapper Modifier and Type Method Description CoreTransactionAttemptContext
TransactionAttemptContextFactory. 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 SpanWrapper Modifier and Type Method Description static Mono<InsertResponse>
TransactionKVHandler. insert(Core core, CollectionIdentifier collectionIdentifier, String id, byte[] transcodedContent, Duration timeout, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper pspan)
static Mono<SubdocGetResponse>
TransactionKVHandler. lookupIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean accessDeleted, Map<String,Object> clientContext, SpanWrapper pspan, List<SubdocGetRequest.Command> commands)
static Mono<SubdocMutateResponse>
TransactionKVHandler. mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper span, List<SubdocMutateRequest.Command> commands)
static Mono<SubdocMutateResponse>
TransactionKVHandler. mutateIn(Core core, CollectionIdentifier collectionIdentifier, String id, Duration timeout, boolean insertDocument, boolean upsertDocument, boolean reviveDocument, boolean accessDeleted, boolean createAsDeleted, long cas, Optional<DurabilityLevel> durabilityLevel, Map<String,Object> clientContext, SpanWrapper pspan, List<SubdocMutateRequest.Command> commands, CoreTransactionLogger logger)
static 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 SpanWrapper Modifier and Type Method Description CoreTransactionAttemptContext
TestTransactionAttemptContextFactory. create(Core core, CoreTransactionContext overall, CoreMergedTransactionConfig config, String attemptId, CoreTransactionsReactive parent, Optional<SpanWrapper> parentSpan)
-