Class TriggerAsyncHistoryExecutorTransactionListener
- java.lang.Object
-
- org.flowable.job.service.impl.history.async.TriggerAsyncHistoryExecutorTransactionListener
-
- All Implemented Interfaces:
TransactionListener
public class TriggerAsyncHistoryExecutorTransactionListener extends Object implements TransactionListener
ATransactionListenerthat will, typically on post-commit, trigger the async history executor to execute the provided list ofHistoryJobEntityinstances.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected HistoryJobEntityhistoryJobEntityprotected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description TriggerAsyncHistoryExecutorTransactionListener(JobServiceConfiguration jobServiceConfiguration, HistoryJobEntity historyJobEntity)
-
-
-
Field Detail
-
historyJobEntity
protected HistoryJobEntity historyJobEntity
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
TriggerAsyncHistoryExecutorTransactionListener
public TriggerAsyncHistoryExecutorTransactionListener(JobServiceConfiguration jobServiceConfiguration, HistoryJobEntity historyJobEntity)
-
-
Method Detail
-
execute
public void execute(CommandContext commandContext)
- Specified by:
executein interfaceTransactionListener
-
-