Class PostTxnCallbackScheduler

java.lang.Object
org.alfresco.repo.util.PostTxnCallbackScheduler

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

    • PostTxnCallbackScheduler

      public PostTxnCallbackScheduler()
  • Method Details

    • setTransactionService

      public void setTransactionService(TransactionService transactionService)
    • scheduleRendition

      public void scheduleRendition(RetryingTransactionHelper.RetryingTransactionCallback callback, 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.