@Stability.Internal public class TestAttemptContextReactive extends AttemptContextReactive
DEFAULT_DELAY_RETRYING_OPERATION, HOOK_ABORT_GET_ATR, HOOK_ATR_ABORT, HOOK_ATR_COMMIT, HOOK_ATR_COMMIT_AMBIGUITY_RESOLUTION, HOOK_ATR_COMPLETE, HOOK_ATR_PENDING, HOOK_ATR_ROLLBACK_COMPLETE, HOOK_BEFORE_COMMIT, HOOK_COMMIT_DOC, HOOK_CREATE_STAGED_INSERT, HOOK_DELETE_INSERTED, HOOK_GET, HOOK_INSERT, HOOK_INSERT_QUERY, HOOK_QUERY, HOOK_REMOVE, HOOK_REMOVE_DOC, HOOK_REPLACE, HOOK_ROLLBACK, HOOK_ROLLBACK_DOC
Constructor and Description |
---|
TestAttemptContextReactive(com.couchbase.client.java.json.JsonObject serialized,
TransactionContext overall,
TransactionConfig config,
TransactionsReactive parent,
TransactionMock transactionMock) |
TestAttemptContextReactive(TransactionContext overall,
TransactionConfig config,
java.lang.String attemptId,
TransactionsReactive parent,
java.util.Optional<SpanWrapper> parentSpan,
TransactionMock transactionMock) |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterAtrAborted(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterAtrCommit(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterAtrComplete(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterAtrPending(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterAtrRolledBack(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocCommitted(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocCommittedBeforeSavingCAS(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocRemovedPostRetry(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocRemovedPreRetry(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocsCommitted(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterDocsRemoved(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterGetComplete(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterRollbackDeleteInserted(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterRollbackReplaceOrRemove(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterStagedInsertComplete(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterStagedRemoveComplete(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
afterStagedReplaceComplete(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrAborted(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrCommit(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrCommitAmbiguityResolution(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrComplete(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrPending(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeAtrRolledBack(AttemptContextReactive self) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeCheckATREntryForBlockingDoc(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeDocCommitted(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeDocGet(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeDocRemoved(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeDocRolledBack(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeGetDocInExistsDuringStagedInsert(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeRollbackDeleteInserted(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeStagedInsert(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeStagedRemove(AttemptContextReactive self,
java.lang.String id) |
protected reactor.core.publisher.Mono<java.lang.Integer> |
beforeStagedReplace(AttemptContextReactive self,
java.lang.String id) |
protected java.lang.Boolean |
hasExpiredClientSideHook(AttemptContextReactive self,
java.lang.String place,
java.util.Optional<java.lang.String> docId) |
protected java.lang.String |
randomAtrIdForVbucket(AttemptContextReactive self,
java.lang.Integer vbucketIdForDoc,
int numAtrs) |
atrCollection, atrId, attemptId, commit, defer, get, getOptional, insert, insert, logger, query, query, queryForKVOperations, remove, replace, replace, rollback, toString, transactionId
public TestAttemptContextReactive(TransactionContext overall, TransactionConfig config, java.lang.String attemptId, TransactionsReactive parent, java.util.Optional<SpanWrapper> parentSpan, TransactionMock transactionMock)
public TestAttemptContextReactive(com.couchbase.client.java.json.JsonObject serialized, TransactionContext overall, TransactionConfig config, TransactionsReactive parent, TransactionMock transactionMock)
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrCommit(AttemptContextReactive self)
beforeAtrCommit
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrCommitAmbiguityResolution(AttemptContextReactive self)
beforeAtrCommitAmbiguityResolution
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterAtrCommit(AttemptContextReactive self)
afterAtrCommit
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeDocCommitted(AttemptContextReactive self, java.lang.String id)
beforeDocCommitted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeRollbackDeleteInserted(AttemptContextReactive self, java.lang.String id)
beforeRollbackDeleteInserted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocCommittedBeforeSavingCAS(AttemptContextReactive self, java.lang.String id)
afterDocCommittedBeforeSavingCAS
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocCommitted(AttemptContextReactive self, java.lang.String id)
afterDocCommitted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeStagedInsert(AttemptContextReactive self, java.lang.String id)
beforeStagedInsert
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeStagedReplace(AttemptContextReactive self, java.lang.String id)
beforeStagedReplace
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeStagedRemove(AttemptContextReactive self, java.lang.String id)
beforeStagedRemove
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocsCommitted(AttemptContextReactive self)
afterDocsCommitted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeDocRemoved(AttemptContextReactive self, java.lang.String id)
beforeDocRemoved
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeDocRolledBack(AttemptContextReactive self, java.lang.String id)
beforeDocRolledBack
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocRemovedPreRetry(AttemptContextReactive self, java.lang.String id)
afterDocRemovedPreRetry
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocRemovedPostRetry(AttemptContextReactive self, java.lang.String id)
afterDocRemovedPostRetry
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterDocsRemoved(AttemptContextReactive self)
afterDocsRemoved
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrPending(AttemptContextReactive self)
beforeAtrPending
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterAtrPending(AttemptContextReactive self)
afterAtrPending
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrComplete(AttemptContextReactive self)
beforeAtrComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrRolledBack(AttemptContextReactive self)
beforeAtrRolledBack
in class AttemptContextReactive
protected java.lang.Boolean hasExpiredClientSideHook(AttemptContextReactive self, java.lang.String place, java.util.Optional<java.lang.String> docId)
hasExpiredClientSideHook
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterAtrComplete(AttemptContextReactive self)
afterAtrComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterGetComplete(AttemptContextReactive self, java.lang.String id)
afterGetComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterStagedReplaceComplete(AttemptContextReactive self, java.lang.String id)
afterStagedReplaceComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterStagedRemoveComplete(AttemptContextReactive self, java.lang.String id)
afterStagedRemoveComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterStagedInsertComplete(AttemptContextReactive self, java.lang.String id)
afterStagedInsertComplete
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterAtrAborted(AttemptContextReactive self)
afterAtrAborted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeAtrAborted(AttemptContextReactive self)
beforeAtrAborted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterAtrRolledBack(AttemptContextReactive self)
afterAtrRolledBack
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterRollbackReplaceOrRemove(AttemptContextReactive self, java.lang.String id)
afterRollbackReplaceOrRemove
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> afterRollbackDeleteInserted(AttemptContextReactive self, java.lang.String id)
afterRollbackDeleteInserted
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeCheckATREntryForBlockingDoc(AttemptContextReactive self, java.lang.String id)
beforeCheckATREntryForBlockingDoc
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeDocGet(AttemptContextReactive self, java.lang.String id)
beforeDocGet
in class AttemptContextReactive
protected reactor.core.publisher.Mono<java.lang.Integer> beforeGetDocInExistsDuringStagedInsert(AttemptContextReactive self, java.lang.String id)
beforeGetDocInExistsDuringStagedInsert
in class AttemptContextReactive
protected java.lang.String randomAtrIdForVbucket(AttemptContextReactive self, java.lang.Integer vbucketIdForDoc, int numAtrs)
randomAtrIdForVbucket
in class AttemptContextReactive