Package com.flowable.indexing
Class ProcessEngineIndexingConfigurator
java.lang.Object
org.flowable.engine.cfg.AbstractProcessEngineConfigurator
com.flowable.indexing.ProcessEngineIndexingConfigurator
- All Implemented Interfaces:
EngineConfigurator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<HistoryJobHandler>protected SessionFactoryprotected 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<HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeInit(AbstractEngineConfiguration engineConfiguration) voidconfigure(AbstractEngineConfiguration engineConfiguration) protected voidprotected voidvoidsetAsyncIndexingHistorySessionFactory(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
-
bulkIndexingSessionFactory
-
numberOfRetries
protected int numberOfRetries
-
-
Constructor Details
-
ProcessEngineIndexingConfigurator
public ProcessEngineIndexingConfigurator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, IndexingHistoryJobProducer jobProducer, List<HistoryJobHandler> asyncHistoryJobHandlers, ElasticsearchClient elasticsearchClient, ReindexManager reindexManager, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors, int numberOfRetries)
-
-
Method Details
-
beforeInit
- Specified by:
beforeInitin interfaceEngineConfigurator- Overrides:
beforeInitin classAbstractProcessEngineConfigurator
-
configure
- Specified by:
configurein interfaceEngineConfigurator- Overrides:
configurein classAbstractProcessEngineConfigurator
-
initAsyncIndexingSessionFactory
protected void initAsyncIndexingSessionFactory() -
initBulkIndexingSessionFactory
protected void initBulkIndexingSessionFactory() -
getAsyncIndexingHistorySessionFactory
-
setAsyncIndexingHistorySessionFactory
public void setAsyncIndexingHistorySessionFactory(SessionFactory asyncIndexingHistorySessionFactory)
-