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