public class DefaultAsyncHistoryJobProducer extends Object implements AsyncHistoryListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
asyncHistoryJsonGroupingThreshold |
protected boolean |
isAsyncHistoryJsonGroupingEnabled |
protected boolean |
isJsonGzipCompressionEnabled |
| Constructor and Description |
|---|
DefaultAsyncHistoryJobProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addJsonToJob(CommandContext commandContext,
HistoryJobEntity jobEntity,
com.fasterxml.jackson.databind.JsonNode rootObjectNode,
boolean applyCompression) |
protected byte[] |
compress(byte[] bytes) |
protected HistoryJobEntity |
createAndInsertJobEntity(CommandContext commandContext,
AsyncHistorySession asyncHistorySession,
String jobType) |
protected void |
createJobsWithHistoricalData(List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes,
CommandContext commandContext) |
int |
getAsyncHistoryJsonGroupingThreshold() |
void |
historyDataGenerated(List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes) |
boolean |
isAsyncHistoryJsonGroupingEnabled() |
boolean |
isJsonGzipCompressionEnabled() |
void |
setAsyncHistoryJsonGroupingEnabled(boolean isAsyncHistoryJsonGroupingEnabled) |
void |
setAsyncHistoryJsonGroupingThreshold(int asyncHistoryJsonGroupingThreshold) |
void |
setJsonGzipCompressionEnabled(boolean isJsonGzipCompressionEnabled) |
protected boolean isJsonGzipCompressionEnabled
protected boolean isAsyncHistoryJsonGroupingEnabled
protected int asyncHistoryJsonGroupingThreshold
public void historyDataGenerated(List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes)
historyDataGenerated in interface AsyncHistoryListenerprotected void createJobsWithHistoricalData(List<com.fasterxml.jackson.databind.node.ObjectNode> historyObjectNodes, CommandContext commandContext)
protected HistoryJobEntity createAndInsertJobEntity(CommandContext commandContext, AsyncHistorySession asyncHistorySession, String jobType)
protected void addJsonToJob(CommandContext commandContext, HistoryJobEntity jobEntity, com.fasterxml.jackson.databind.JsonNode rootObjectNode, boolean applyCompression)
protected byte[] compress(byte[] bytes)
public boolean isJsonGzipCompressionEnabled()
public void setJsonGzipCompressionEnabled(boolean isJsonGzipCompressionEnabled)
public boolean isAsyncHistoryJsonGroupingEnabled()
public void setAsyncHistoryJsonGroupingEnabled(boolean isAsyncHistoryJsonGroupingEnabled)
public int getAsyncHistoryJsonGroupingThreshold()
public void setAsyncHistoryJsonGroupingThreshold(int asyncHistoryJsonGroupingThreshold)
Copyright © 2017 Flowable. All rights reserved.