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.SessionFactoryprotected org.flowable.common.engine.impl.interceptor.SessionFactoryprotected List<BulkIndexRequestInterceptor> protected ElasticsearchClientprotected IndexingHistoryJobProducerprotected intprotected com.fasterxml.jackson.databind.ObjectMapperprotected ReindexManagerFields 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 TypeMethodDescriptionvoidbeforeInit(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration) voidconfigure(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration) org.flowable.common.engine.impl.interceptor.SessionFactoryprotected voidprotected voidvoidsetAsyncIndexingHistorySessionFactory(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:
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)
-