| Package | Description |
|---|---|
| com.couchbase.client.core.transaction | |
| com.couchbase.client.core.transaction.util |
| Modifier and Type | Method and 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 logic
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
ReactiveLock.Waiter |
LockTokens.mutexToken |
| Modifier and Type | Method and Description |
|---|---|
Mono<ReactiveLock.Waiter> |
ReactiveLock.lock(String dbg,
Duration timeout)
if the lock is unlocked, lock it, and continue
else if the lock is locked, join the list of things waiting for it to be unlocked
|
| Modifier and Type | Method and Description |
|---|---|
Mono<Void> |
ReactiveLock.unlock(ReactiveLock.Waiter waiter)
The thing currently waiting on this lock is now unlocking it.
|
Mono<Void> |
ReactiveLock.unlock(ReactiveLock.Waiter waiter,
String extraDbg) |
Mono<Void> |
ReactiveLock.unlock(ReactiveLock.Waiter waiter,
String extraDbg,
boolean removeFromWaiters) |
| Constructor and Description |
|---|
LockTokens(ReactiveLock.Waiter mutexToken,
ReactiveWaitGroup.Waiter waitGroupToken) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.