Class BulkIndexingSessionFactory

  • All Implemented Interfaces:
    org.flowable.common.engine.impl.interceptor.SessionFactory

    public class BulkIndexingSessionFactory
    extends java.lang.Object
    implements org.flowable.common.engine.impl.interceptor.SessionFactory
    • Field Detail

      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • restHighLevelClient

        protected org.elasticsearch.client.RestHighLevelClient restHighLevelClient
    • Constructor Detail

      • BulkIndexingSessionFactory

        public BulkIndexingSessionFactory​(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                          org.elasticsearch.client.RestHighLevelClient restHighLevelClient,
                                          ElasticsearchCompatibility elasticsearchCompatibility,
                                          java.util.List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors)
    • Method Detail

      • getSessionType

        public java.lang.Class<?> getSessionType()
        Specified by:
        getSessionType in interface org.flowable.common.engine.impl.interceptor.SessionFactory
      • openSession

        public org.flowable.common.engine.impl.interceptor.Session openSession​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
        Specified by:
        openSession in interface org.flowable.common.engine.impl.interceptor.SessionFactory