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>
asyncHistoryJobHandlers
protected org.flowable.job.service.impl.history.async.AsyncHistoryListener
asyncHistoryListener
protected org.flowable.common.engine.impl.interceptor.SessionFactory
asyncIndexingHistorySessionFactory
protected org.flowable.common.engine.impl.interceptor.SessionFactory
bulkIndexingSessionFactory
protected java.util.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
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
void
configure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
org.flowable.common.engine.impl.interceptor.SessionFactory
getAsyncIndexingHistorySessionFactory()
protected void
initAsyncIndexingSessionFactory()
protected void
initBulkIndexingSessionFactory()
void
setAsyncIndexingHistorySessionFactory(org.flowable.common.engine.impl.interceptor.SessionFactory asyncIndexingHistorySessionFactory)
-
-
-
Field Detail
-
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
protected ReindexManager reindexManager
-
elasticsearchCompatibility
protected ElasticsearchCompatibility elasticsearchCompatibility
-
bulkIndexRequestInterceptors
protected java.util.List<BulkIndexRequestInterceptor> 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 Detail
-
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 Detail
-
beforeInit
public void beforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
- Specified by:
beforeInit
in interfaceorg.flowable.common.engine.impl.EngineConfigurator
- Overrides:
beforeInit
in classorg.flowable.engine.cfg.AbstractProcessEngineConfigurator
-
configure
public void configure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
- Specified by:
configure
in interfaceorg.flowable.common.engine.impl.EngineConfigurator
- Overrides:
configure
in 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)
-
-