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 int
jobRetries
-
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 void
addOrReplaceHistoricData(JobServiceConfiguration jobServiceConfiguration, com.fasterxml.jackson.databind.node.ObjectNode dataNode, String dataIdFieldName, String type, String tenantId)
int
getJobRetries()
com.fasterxml.jackson.databind.node.ObjectNode
getMatchingData(JobServiceConfiguration jobServiceConfiguration, String dataId, String dataIdFieldName, String type)
protected void
initCommandContextCloseListener()
void
setJobRetries(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:
initCommandContextCloseListener
in 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)
-
-