Class CoreTransactionAttemptContextHooks
java.lang.Object
com.couchbase.client.core.transaction.util.CoreTransactionAttemptContextHooks
Can be used for testing transactions, but is for internal use only.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
HOOK_ROLLBACK
- See Also:
-
HOOK_GET
- See Also:
-
HOOK_INSERT
- See Also:
-
HOOK_REPLACE
- See Also:
-
HOOK_REMOVE
- See Also:
-
HOOK_BEFORE_COMMIT
- See Also:
-
HOOK_ROLLBACK_DOC
- See Also:
-
HOOK_DELETE_INSERTED
- See Also:
-
HOOK_REMOVE_STAGED_INSERT
- See Also:
-
HOOK_CREATE_STAGED_INSERT
- See Also:
-
HOOK_REMOVE_DOC
- See Also:
-
HOOK_COMMIT_DOC
- See Also:
-
HOOK_COMMIT_DOC_CHANGED
- See Also:
-
HOOK_STAGING_DOC_CHANGED
- See Also:
-
HOOK_ROLLBACK_DOC_CHANGED
- See Also:
-
HOOK_QUERY
- See Also:
-
HOOK_QUERY_BEGIN_WORK
- See Also:
-
HOOK_QUERY_COMMIT
- See Also:
-
HOOK_QUERY_ROLLBACK
- See Also:
-
HOOK_QUERY_KV_GET
- See Also:
-
HOOK_QUERY_KV_REPLACE
- See Also:
-
HOOK_QUERY_KV_REMOVE
- See Also:
-
HOOK_QUERY_KV_INSERT
- See Also:
-
HOOK_BEFORE_RETRY
- See Also:
-
HOOK_ATR_COMMIT
- See Also:
-
HOOK_ATR_COMMIT_AMBIGUITY_RESOLUTION
- See Also:
-
HOOK_ATR_ABORT
- See Also:
-
HOOK_ATR_ROLLBACK_COMPLETE
- See Also:
-
HOOK_ATR_PENDING
- See Also:
-
HOOK_ATR_COMPLETE
- See Also:
-
standard
-
beforeAtrCommit
-
beforeAtrCommitAmbiguityResolution
-
afterAtrCommit
-
beforeDocCommitted
-
beforeRollbackDeleteInserted
-
afterDocCommittedBeforeSavingCAS
public BiFunction<CoreTransactionAttemptContext,String, afterDocCommittedBeforeSavingCASMono<Integer>> -
afterDocCommitted
-
beforeStagedInsert
-
beforeStagedRemove
-
beforeStagedReplace
-
beforeDocRemoved
-
beforeDocRolledBack
-
afterDocRemovedPreRetry
-
afterDocRemovedPostRetry
-
afterGetComplete
-
afterStagedReplaceComplete
-
afterStagedRemoveComplete
-
afterStagedInsertComplete
-
afterRollbackReplaceOrRemove
-
afterRollbackDeleteInserted
-
beforeCheckATREntryForBlockingDoc
public BiFunction<CoreTransactionAttemptContext,String, beforeCheckATREntryForBlockingDocMono<Integer>> -
beforeDocGet
-
beforeGetDocInExistsDuringStagedInsert
public BiFunction<CoreTransactionAttemptContext,String, beforeGetDocInExistsDuringStagedInsertMono<Integer>> -
beforeOverwritingStagedInsertRemoval
public BiFunction<CoreTransactionAttemptContext,String, beforeOverwritingStagedInsertRemovalMono<Integer>> -
beforeRemoveStagedInsert
-
afterRemoveStagedInsert
-
afterDocsCommitted
-
afterDocsRemoved
-
afterAtrPending
-
beforeAtrPending
-
beforeAtrComplete
-
beforeAtrRolledBack
-
afterAtrComplete
-
beforeAtrAborted
-
afterAtrAborted
-
afterAtrRolledBack
-
beforeQuery
-
afterQuery
-
randomAtrIdForVbucket
-
hasExpiredClientSideHook
public TriFunction<CoreTransactionAttemptContext,String, hasExpiredClientSideHookOptional<String>, Boolean> -
beforeUnlockGet
-
beforeUnlockInsert
-
beforeUnlockReplace
-
beforeUnlockRemove
-
beforeUnlockQuery
-
beforeDocChangedDuringStaging
-
beforeDocChangedDuringCommit
-
beforeDocChangedDuringRollback
public BiFunction<CoreTransactionAttemptContext,String, beforeDocChangedDuringRollbackMono<Integer>>
-
-
Constructor Details
-
CoreTransactionAttemptContextHooks
public CoreTransactionAttemptContextHooks()
-