Class PostTxnCallbackScheduler


  • public class PostTxnCallbackScheduler
    extends java.lang.Object
    Schedules a callback to a post-commit phase.
    Author:
    alex.mukha
    • Constructor Detail

      • PostTxnCallbackScheduler

        public PostTxnCallbackScheduler()
    • Method Detail

      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)
      • scheduleRendition

        public void scheduleRendition​(RetryingTransactionHelper.RetryingTransactionCallback callback,
                                      java.lang.String uniqueId)
        Parameters:
        callback - The callback to be scheduled in a post-commit phase
        uniqueId - The unique id of the callback. Consecutive requests to schedule the callback with the same id will overwrite the previously scheduled one.