public class AsyncIndexingHistorySession extends AsyncHistorySession
AsyncHistorySession.AsyncHistorySessionData
Modifier and Type | Field and Description |
---|---|
protected int |
jobRetries |
asyncHistoryListener, commandContext, commandContextCloseListener, jobDataTypes, sessionData, tenantId, TIMESTAMP, transactionContext
Constructor and Description |
---|
AsyncIndexingHistorySession(CommandContext commandContext,
AsyncHistoryListener asyncHistoryListener,
List<String> registeredJobDataTypes) |
Modifier and Type | Method and 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) |
addHistoricData, addHistoricData, close, flush, getAsyncHistoryListener, getJobDataTypes, getSessionData, getTenantId, getTransactionContext, setJobDataTypes, setSessionData, setTenantId, setTransactionContext
public AsyncIndexingHistorySession(CommandContext commandContext, AsyncHistoryListener asyncHistoryListener, List<String> registeredJobDataTypes)
protected void initCommandContextCloseListener()
initCommandContextCloseListener
in class AsyncHistorySession
public void addOrReplaceHistoricData(JobServiceConfiguration jobServiceConfiguration, com.fasterxml.jackson.databind.node.ObjectNode dataNode, String dataIdFieldName, String type, String tenantId)
public com.fasterxml.jackson.databind.node.ObjectNode getMatchingData(JobServiceConfiguration jobServiceConfiguration, String dataId, String dataIdFieldName, String type)
public int getJobRetries()
public void setJobRetries(int jobRetries)