| Modifier and Type | Field and Description |
|---|---|
protected AsyncHistoryCommittedTransactionListener |
asyncHistoryCommittedTransactionListener |
protected AsyncHistoryListener |
asyncHistoryListener |
protected CommandContext |
commandContext |
protected CommandContextCloseListener |
commandContextCloseListener |
protected Map<String,List<Map<String,String>>> |
jobData |
protected String |
tenantId |
| Constructor and Description |
|---|
AsyncHistorySession(CommandContext commandContext,
AsyncHistoryListener asyncHistoryJobListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAsyncHistoryRunnableAfterCommit(Runnable runnable) |
void |
addHistoricData(String type,
Map<String,String> data) |
void |
addHistoricData(String type,
Map<String,String> data,
String tenantId) |
void |
close() |
void |
flush() |
Map<String,List<Map<String,String>>> |
getJobData() |
String |
getTenantId() |
protected void |
initCommandContextCloseListener() |
protected void |
intitTransactionListener() |
void |
setJobData(Map<String,List<Map<String,String>>> jobData) |
void |
setTenantId(String tenantId) |
protected CommandContext commandContext
protected AsyncHistoryListener asyncHistoryListener
protected CommandContextCloseListener commandContextCloseListener
protected AsyncHistoryCommittedTransactionListener asyncHistoryCommittedTransactionListener
protected String tenantId
public AsyncHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryJobListener)
protected void initCommandContextCloseListener()
protected void intitTransactionListener()
public String getTenantId()
public void setTenantId(String tenantId)
public void addAsyncHistoryRunnableAfterCommit(Runnable runnable)
Copyright © 2017 Flowable. All rights reserved.