Class ProcessEngineIndexingConfigurator

  • All Implemented Interfaces:
    org.flowable.common.engine.impl.EngineConfigurator

    public class ProcessEngineIndexingConfigurator
    extends org.flowable.engine.cfg.AbstractProcessEngineConfigurator
    • 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
      • 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 interface org.flowable.common.engine.impl.EngineConfigurator
        Overrides:
        beforeInit in class org.flowable.engine.cfg.AbstractProcessEngineConfigurator
      • configure

        public void configure​(org.flowable.common.engine.impl.AbstractEngineConfiguration engineConfiguration)
        Specified by:
        configure in interface org.flowable.common.engine.impl.EngineConfigurator
        Overrides:
        configure in class org.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)