Package org.alfresco.repo.util
Class PostTxnCallbackScheduler
java.lang.Object
org.alfresco.repo.util.PostTxnCallbackScheduler
Schedules a callback to a post-commit phase.
- Author:
- alex.mukha
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidscheduleRendition(RetryingTransactionHelper.RetryingTransactionCallback callback, String uniqueId) voidsetTransactionService(TransactionService transactionService)
-
Constructor Details
-
PostTxnCallbackScheduler
public PostTxnCallbackScheduler()
-
-
Method Details
-
setTransactionService
-
scheduleRendition
public void scheduleRendition(RetryingTransactionHelper.RetryingTransactionCallback callback, String uniqueId) - Parameters:
callback- The callback to be scheduled in a post-commit phaseuniqueId- The unique id of the callback. Consecutive requests to schedule the callback with the same id will overwrite the previously scheduled one.
-