Uses of Class
com.couchbase.client.core.transaction.util.ReactiveLock.Waiter
Package
Description
-
Uses of ReactiveLock.Waiter in com.couchbase.client.core.transaction
Modifier and TypeMethodDescription<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 logicCoreTransactionAttemptContext.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. -
Uses of ReactiveLock.Waiter in com.couchbase.client.core.transaction.util
Modifier and TypeMethodDescriptionif the lock is unlocked, lock it, and continue else if the lock is locked, join the list of things waiting for it to be unlockedModifier and TypeMethodDescriptionReactiveLock.unlock
(ReactiveLock.Waiter waiter) The thing currently waiting on this lock is now unlocking it.ReactiveLock.unlock
(ReactiveLock.Waiter waiter, String extraDbg) ReactiveLock.unlock
(ReactiveLock.Waiter waiter, String extraDbg, boolean removeFromWaiters) ModifierConstructorDescriptionLockTokens
(ReactiveLock.Waiter mutexToken, ReactiveWaitGroup.Waiter waitGroupToken)