public class DefaultAsyncHistoryJobProducer extends Object implements AsyncHistoryListener
| Constructor and Description |
|---|
DefaultAsyncHistoryJobProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addJsonToJob(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration,
HistoryJobEntity jobEntity,
com.fasterxml.jackson.databind.JsonNode rootObjectNode,
boolean applyCompression) |
protected byte[] |
compress(byte[] bytes) |
protected HistoryJobEntity |
createJob(CommandContext commandContext,
AsyncHistorySession asyncHistorySession,
JobServiceConfiguration jobServiceConfiguration,
String jobType) |
protected List<HistoryJobEntity> |
createJobsWithHistoricalData(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration,
List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes) |
protected String |
getJobType(JobServiceConfiguration jobServiceConfiguration,
boolean groupingEnabled) |
List<HistoryJobEntity> |
historyDataGenerated(JobServiceConfiguration jobServiceConfiguration,
List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes) |
protected void |
processHistoryJobEntities(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration,
List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes,
List<HistoryJobEntity> historyJobEntities) |
protected void |
scheduleJobs(CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration,
List<HistoryJobEntity> historyJobEntities) |
public List<HistoryJobEntity> historyDataGenerated(JobServiceConfiguration jobServiceConfiguration, List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes)
historyDataGenerated in interface AsyncHistoryListenerprotected List<HistoryJobEntity> createJobsWithHistoricalData(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration, List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes)
protected HistoryJobEntity createJob(CommandContext commandContext, AsyncHistorySession asyncHistorySession, JobServiceConfiguration jobServiceConfiguration, String jobType)
protected void scheduleJobs(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration, List<HistoryJobEntity> historyJobEntities)
protected void addJsonToJob(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration, HistoryJobEntity jobEntity, com.fasterxml.jackson.databind.JsonNode rootObjectNode, boolean applyCompression)
protected byte[] compress(byte[] bytes)
protected String getJobType(JobServiceConfiguration jobServiceConfiguration, boolean groupingEnabled)
protected void processHistoryJobEntities(CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration, List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes, List<HistoryJobEntity> historyJobEntities)
Copyright © 2021 Flowable. All rights reserved.