Package com.flowable.indexing
Class ProcessEngineIndexingConfigurator
java.lang.Object
org.flowable.engine.cfg.AbstractProcessEngineConfigurator
com.flowable.indexing.ProcessEngineIndexingConfigurator
- All Implemented Interfaces:
org.flowable.common.engine.impl.EngineConfigurator
public class ProcessEngineIndexingConfigurator
extends org.flowable.engine.cfg.AbstractProcessEngineConfigurator
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<org.flowable.job.service.HistoryJobHandler>asyncHistoryJobHandlersprotected org.flowable.job.service.impl.history.async.AsyncHistoryListenerasyncHistoryListenerprotected org.flowable.common.engine.impl.interceptor.SessionFactoryasyncIndexingHistorySessionFactoryprotected org.flowable.common.engine.impl.interceptor.SessionFactorybulkIndexingSessionFactoryprotected java.util.List<BulkIndexRequestInterceptor>bulkIndexRequestInterceptorsprotected ElasticsearchCompatibilityelasticsearchCompatibilityprotected booleanjsonGroupingEnabledprotected intjsonGroupingThresholdprotected booleanjsonGzipEnabledprotected intnumberOfRetriesprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected ReindexManagerreindexManagerprotected org.elasticsearch.client.RestHighLevelClientrestHighLevelClient -
Constructor Summary
Constructors Constructor Description ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, org.flowable.job.service.impl.history.async.AsyncHistoryListener asyncHistoryListener, java.util.List<org.flowable.job.service.HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchCompatibility elasticsearchCompatibility, ReindexManager reindexManager, java.util.List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries, boolean jsonGroupingEnabled, int jsonGroupingThreshold, boolean jsonGzipEnabled) -
Method Summary
Modifier and Type Method Description voidbeforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)voidconfigure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)org.flowable.common.engine.impl.interceptor.SessionFactorygetAsyncIndexingHistorySessionFactory()protected voidinitAsyncIndexingSessionFactory()protected voidinitBulkIndexingSessionFactory()voidsetAsyncIndexingHistorySessionFactory(org.flowable.common.engine.impl.interceptor.SessionFactory asyncIndexingHistorySessionFactory)
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
restHighLevelClient
protected org.elasticsearch.client.RestHighLevelClient restHighLevelClient -
asyncHistoryListener
protected org.flowable.job.service.impl.history.async.AsyncHistoryListener asyncHistoryListener -
asyncHistoryJobHandlers
protected java.util.List<org.flowable.job.service.HistoryJobHandler> asyncHistoryJobHandlers -
reindexManager
-
elasticsearchCompatibility
-
bulkIndexRequestInterceptors
-
asyncIndexingHistorySessionFactory
protected org.flowable.common.engine.impl.interceptor.SessionFactory asyncIndexingHistorySessionFactory -
bulkIndexingSessionFactory
protected org.flowable.common.engine.impl.interceptor.SessionFactory bulkIndexingSessionFactory -
numberOfRetries
protected int numberOfRetries -
jsonGroupingEnabled
protected boolean jsonGroupingEnabled -
jsonGroupingThreshold
protected int jsonGroupingThreshold -
jsonGzipEnabled
protected boolean jsonGzipEnabled
-
-
Constructor Details
-
ProcessEngineIndexingConfigurator
public ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, org.flowable.job.service.impl.history.async.AsyncHistoryListener asyncHistoryListener, java.util.List<org.flowable.job.service.HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchCompatibility elasticsearchCompatibility, ReindexManager reindexManager, java.util.List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries, boolean jsonGroupingEnabled, int jsonGroupingThreshold, boolean jsonGzipEnabled)
-
-
Method Details
-
beforeInit
public void beforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)- Specified by:
beforeInitin interfaceorg.flowable.common.engine.impl.EngineConfigurator- Overrides:
beforeInitin classorg.flowable.engine.cfg.AbstractProcessEngineConfigurator
-
configure
public void configure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)- Specified by:
configurein interfaceorg.flowable.common.engine.impl.EngineConfigurator- Overrides:
configurein classorg.flowable.engine.cfg.AbstractProcessEngineConfigurator
-
initAsyncIndexingSessionFactory
protected void initAsyncIndexingSessionFactory() -
initBulkIndexingSessionFactory
protected void initBulkIndexingSessionFactory() -
getAsyncIndexingHistorySessionFactory
public org.flowable.common.engine.impl.interceptor.SessionFactory getAsyncIndexingHistorySessionFactory() -
setAsyncIndexingHistorySessionFactory
public void setAsyncIndexingHistorySessionFactory(org.flowable.common.engine.impl.interceptor.SessionFactory asyncIndexingHistorySessionFactory)
-