Interface TransactionCompletionCallbacksImplementor
- All Superinterfaces:
TransactionCompletionCallbacks
@Incubating
public interface TransactionCompletionCallbacksImplementor
extends TransactionCompletionCallbacks
- Since:
- 7.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface TransactionCompletionCallbacks
TransactionCompletionCallbacks.AfterCompletionCallback, TransactionCompletionCallbacks.BeforeCompletionCallback, TransactionCompletionCallbacks.CompletionCallback -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSpaceToInvalidate(String space) Register a cache space to be invalidated after successful transaction completion.voidafterTransactionCompletion(boolean success) Execute registered after-completion callbacks, if any.voidExecute registered before-completion callbacks, if any.voidExecute all pendingBulkOperationCleanupActionEnsure internal queues are initialized for sharing between sessions that share the same transaction coordinator.booleanAre there any registered after-completion callbacks?booleanAre there any registered before-completion callbacks?Methods inherited from interface TransactionCompletionCallbacks
registerCallback, registerCallback
-
Method Details
-
hasBeforeCompletionCallbacks
boolean hasBeforeCompletionCallbacks()Are there any registered before-completion callbacks? -
hasAfterCompletionCallbacks
boolean hasAfterCompletionCallbacks()Are there any registered after-completion callbacks? -
beforeTransactionCompletion
void beforeTransactionCompletion()Execute registered before-completion callbacks, if any. -
afterTransactionCompletion
void afterTransactionCompletion(boolean success) Execute registered after-completion callbacks, if any. -
addSpaceToInvalidate
Register a cache space to be invalidated after successful transaction completion. -
forSharing
TransactionCompletionCallbacksImplementor forSharing()Ensure internal queues are initialized for sharing between sessions that share the same transaction coordinator. Returns this instance for convenience/fluency. -
executePendingBulkOperationCleanUpActions
void executePendingBulkOperationCleanUpActions()Execute all pendingBulkOperationCleanupAction
-