public class TriggerAsyncExecutorTransactionListener extends Object implements TransactionListener
TransactionListener that will, typically on post-commit, trigger
the async history executor to execute the provided list of HistoryJobEntity instances.| Modifier and Type | Field and Description |
|---|---|
protected List<HistoryJobEntity> |
historyJobEntities |
protected JobServiceConfiguration |
jobServiceConfiguration |
| Constructor and Description |
|---|
TriggerAsyncExecutorTransactionListener(CommandContext commandContext) |
TriggerAsyncExecutorTransactionListener(CommandContext commandContext,
HistoryJobEntity historyJobEntity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHistoryJobEntities(List<HistoryJobEntity> historyJobEntities) |
void |
addHistoryJobEntity(HistoryJobEntity historyJobEntity) |
void |
execute(CommandContext commandContext) |
protected List<HistoryJobEntity> historyJobEntities
protected JobServiceConfiguration jobServiceConfiguration
public TriggerAsyncExecutorTransactionListener(CommandContext commandContext)
public TriggerAsyncExecutorTransactionListener(CommandContext commandContext, HistoryJobEntity historyJobEntity)
public void addHistoryJobEntity(HistoryJobEntity historyJobEntity)
public void addHistoryJobEntities(List<HistoryJobEntity> historyJobEntities)
public void execute(CommandContext commandContext)
execute in interface TransactionListenerCopyright © 2018 Flowable. All rights reserved.