Package com.flowable.indexing
Class ProcessEngineIndexingConfigurator
- java.lang.Object
-
- org.flowable.engine.cfg.AbstractProcessEngineConfigurator
-
- com.flowable.indexing.ProcessEngineIndexingConfigurator
-
- All Implemented Interfaces:
EngineConfigurator
public class ProcessEngineIndexingConfigurator extends AbstractProcessEngineConfigurator
-
-
Field Summary
Fields Modifier and Type Field Description protected List<HistoryJobHandler>asyncHistoryJobHandlersprotected AsyncHistoryListenerasyncHistoryListenerprotected SessionFactoryasyncIndexingHistorySessionFactoryprotected SessionFactorybulkIndexingSessionFactoryprotected List<BulkIndexRequestInterceptor>bulkIndexRequestInterceptorsprotected ElasticsearchClientelasticsearchClientprotected booleanjsonGroupingEnabledprotected intjsonGroupingThresholdprotected booleanjsonGzipEnabledprotected intnumberOfRetriesprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected ReindexManagerreindexManager-
Fields inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
DEFAULT_CONFIGURATOR_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, AsyncHistoryListener asyncHistoryListener, List<HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries, boolean jsonGroupingEnabled, int jsonGroupingThreshold, boolean jsonGzipEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeInit(AbstractEngineConfiguration engineConfiguration)voidconfigure(AbstractEngineConfiguration engineConfiguration)SessionFactorygetAsyncIndexingHistorySessionFactory()protected voidinitAsyncIndexingSessionFactory()protected voidinitBulkIndexingSessionFactory()voidsetAsyncIndexingHistorySessionFactory(SessionFactory asyncIndexingHistorySessionFactory)-
Methods inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
getPriority
-
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
asyncHistoryListener
protected AsyncHistoryListener asyncHistoryListener
-
asyncHistoryJobHandlers
protected List<HistoryJobHandler> asyncHistoryJobHandlers
-
reindexManager
protected ReindexManager reindexManager
-
elasticsearchClient
protected ElasticsearchClient elasticsearchClient
-
bulkIndexRequestInterceptors
protected List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors
-
asyncIndexingHistorySessionFactory
protected SessionFactory asyncIndexingHistorySessionFactory
-
bulkIndexingSessionFactory
protected SessionFactory bulkIndexingSessionFactory
-
numberOfRetries
protected int numberOfRetries
-
jsonGroupingEnabled
protected boolean jsonGroupingEnabled
-
jsonGroupingThreshold
protected int jsonGroupingThreshold
-
jsonGzipEnabled
protected boolean jsonGzipEnabled
-
-
Constructor Detail
-
ProcessEngineIndexingConfigurator
public ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, AsyncHistoryListener asyncHistoryListener, List<HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries, boolean jsonGroupingEnabled, int jsonGroupingThreshold, boolean jsonGzipEnabled)
-
-
Method Detail
-
beforeInit
public void beforeInit(AbstractEngineConfiguration engineConfiguration)
- Specified by:
beforeInitin interfaceEngineConfigurator- Overrides:
beforeInitin classAbstractProcessEngineConfigurator
-
configure
public void configure(AbstractEngineConfiguration engineConfiguration)
- Specified by:
configurein interfaceEngineConfigurator- Overrides:
configurein classAbstractProcessEngineConfigurator
-
initAsyncIndexingSessionFactory
protected void initAsyncIndexingSessionFactory()
-
initBulkIndexingSessionFactory
protected void initBulkIndexingSessionFactory()
-
getAsyncIndexingHistorySessionFactory
public SessionFactory getAsyncIndexingHistorySessionFactory()
-
setAsyncIndexingHistorySessionFactory
public void setAsyncIndexingHistorySessionFactory(SessionFactory asyncIndexingHistorySessionFactory)
-
-