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
FieldsModifier and TypeFieldDescriptionprotected List
<org.flowable.job.service.HistoryJobHandler> protected org.flowable.common.engine.impl.interceptor.SessionFactory
protected org.flowable.common.engine.impl.interceptor.SessionFactory
protected List
<BulkIndexRequestInterceptor> protected ElasticsearchClient
protected IndexingHistoryJobProducer
protected int
protected com.fasterxml.jackson.databind.ObjectMapper
protected ReindexManager
Fields inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
DEFAULT_CONFIGURATOR_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionProcessEngineIndexingConfigurator
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, IndexingHistoryJobProducer jobProducer, List<org.flowable.job.service.HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries) -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeInit
(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration) void
configure
(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration) org.flowable.common.engine.impl.interceptor.SessionFactory
protected void
protected void
void
setAsyncIndexingHistorySessionFactory
(org.flowable.common.engine.impl.interceptor.SessionFactory asyncIndexingHistorySessionFactory) Methods inherited from class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
getPriority
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
jobProducer
-
asyncHistoryJobHandlers
-
reindexManager
-
elasticsearchClient
-
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
-
-
Constructor Details
-
ProcessEngineIndexingConfigurator
public ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, IndexingHistoryJobProducer jobProducer, List<org.flowable.job.service.HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries)
-
-
Method Details
-
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)
-