Class AsyncIndexingHistorySession
- java.lang.Object
-
- org.flowable.job.service.impl.history.async.AsyncHistorySession
-
- com.flowable.indexing.job.history.async.AsyncIndexingHistorySession
-
- All Implemented Interfaces:
Session
public class AsyncIndexingHistorySession extends AsyncHistorySession
- Author:
- Filip Hrisafov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.job.service.impl.history.async.AsyncHistorySession
AsyncHistorySession.AsyncHistorySessionData
-
-
Field Summary
Fields Modifier and Type Field Description protected intjobRetries-
Fields inherited from class org.flowable.job.service.impl.history.async.AsyncHistorySession
asyncHistoryListener, commandContext, commandContextCloseListener, jobDataTypes, sessionData, tenantId, TIMESTAMP, transactionContext
-
-
Constructor Summary
Constructors Constructor Description AsyncIndexingHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryListener, List<String> registeredJobDataTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOrReplaceHistoricData(JobServiceConfiguration jobServiceConfiguration, com.fasterxml.jackson.databind.node.ObjectNode dataNode, String dataIdFieldName, String type, String tenantId)intgetJobRetries()com.fasterxml.jackson.databind.node.ObjectNodegetMatchingData(JobServiceConfiguration jobServiceConfiguration, String dataId, String dataIdFieldName, String type)protected voidinitCommandContextCloseListener()voidsetJobRetries(int jobRetries)-
Methods inherited from class org.flowable.job.service.impl.history.async.AsyncHistorySession
addHistoricData, addHistoricData, close, flush, getAsyncHistoryListener, getJobDataTypes, getSessionData, getTenantId, getTransactionContext, setJobDataTypes, setSessionData, setTenantId, setTransactionContext
-
-
-
-
Constructor Detail
-
AsyncIndexingHistorySession
public AsyncIndexingHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryListener, List<String> registeredJobDataTypes)
-
-
Method Detail
-
initCommandContextCloseListener
protected void initCommandContextCloseListener()
- Overrides:
initCommandContextCloseListenerin classAsyncHistorySession
-
addOrReplaceHistoricData
public void addOrReplaceHistoricData(JobServiceConfiguration jobServiceConfiguration, com.fasterxml.jackson.databind.node.ObjectNode dataNode, String dataIdFieldName, String type, String tenantId)
-
getMatchingData
public com.fasterxml.jackson.databind.node.ObjectNode getMatchingData(JobServiceConfiguration jobServiceConfiguration, String dataId, String dataIdFieldName, String type)
-
getJobRetries
public int getJobRetries()
-
setJobRetries
public void setJobRetries(int jobRetries)
-
-