public class ProcessEngineIndexingConfigurator extends AbstractProcessEngineConfigurator
Modifier and Type | Field and Description |
---|---|
protected List<HistoryJobHandler> |
asyncHistoryJobHandlers |
protected AsyncHistoryListener |
asyncHistoryListener |
protected SessionFactory |
asyncIndexingHistorySessionFactory |
protected SessionFactory |
bulkIndexingSessionFactory |
protected List<BulkIndexRequestInterceptor> |
bulkIndexRequestInterceptors |
protected ElasticsearchCompatibility |
elasticsearchCompatibility |
protected boolean |
jsonGroupingEnabled |
protected int |
jsonGroupingThreshold |
protected boolean |
jsonGzipEnabled |
protected int |
numberOfRetries |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected ReindexManager |
reindexManager |
protected org.elasticsearch.client.RestHighLevelClient |
restHighLevelClient |
DEFAULT_CONFIGURATOR_PRIORITY
Constructor and Description |
---|
ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
AsyncHistoryListener asyncHistoryListener,
List<HistoryJobHandler> asyncHistoryJobHandlers,
ElasticsearchCompatibility elasticsearchCompatibility,
ReindexManager reindexManager,
List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors,
int numberOfRetries,
boolean jsonGroupingEnabled,
int jsonGroupingThreshold,
boolean jsonGzipEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
beforeInit(AbstractEngineConfiguration engineConfiguration) |
void |
configure(AbstractEngineConfiguration engineConfiguration) |
SessionFactory |
getAsyncIndexingHistorySessionFactory() |
protected void |
initAsyncIndexingSessionFactory() |
protected void |
initBulkIndexingSessionFactory() |
void |
setAsyncIndexingHistorySessionFactory(SessionFactory asyncIndexingHistorySessionFactory) |
getPriority
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected org.elasticsearch.client.RestHighLevelClient restHighLevelClient
protected AsyncHistoryListener asyncHistoryListener
protected List<HistoryJobHandler> asyncHistoryJobHandlers
protected ReindexManager reindexManager
protected ElasticsearchCompatibility elasticsearchCompatibility
protected List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors
protected SessionFactory asyncIndexingHistorySessionFactory
protected SessionFactory bulkIndexingSessionFactory
protected int numberOfRetries
protected boolean jsonGroupingEnabled
protected int jsonGroupingThreshold
protected boolean jsonGzipEnabled
public ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, AsyncHistoryListener asyncHistoryListener, List<HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchCompatibility elasticsearchCompatibility, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries, boolean jsonGroupingEnabled, int jsonGroupingThreshold, boolean jsonGzipEnabled)
public void beforeInit(AbstractEngineConfiguration engineConfiguration)
beforeInit
in interface EngineConfigurator
beforeInit
in class AbstractProcessEngineConfigurator
public void configure(AbstractEngineConfiguration engineConfiguration)
configure
in interface EngineConfigurator
configure
in class AbstractProcessEngineConfigurator
protected void initAsyncIndexingSessionFactory()
protected void initBulkIndexingSessionFactory()
public SessionFactory getAsyncIndexingHistorySessionFactory()
public void setAsyncIndexingHistorySessionFactory(SessionFactory asyncIndexingHistorySessionFactory)