Package org.alfresco.repo.util
Class PostTxnCallbackScheduler
- java.lang.Object
-
- org.alfresco.repo.util.PostTxnCallbackScheduler
-
public class PostTxnCallbackScheduler extends java.lang.ObjectSchedules a callback to a post-commit phase.- Author:
- alex.mukha
-
-
Constructor Summary
Constructors Constructor Description PostTxnCallbackScheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidscheduleRendition(RetryingTransactionHelper.RetryingTransactionCallback callback, java.lang.String uniqueId)voidsetTransactionService(TransactionService transactionService)
-
-
-
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 phaseuniqueId- The unique id of the callback. Consecutive requests to schedule the callback with the same id will overwrite the previously scheduled one.
-
-