Class BulkIndexingSessionFactory
- java.lang.Object
-
- com.flowable.indexing.job.history.async.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 Summary
Fields Modifier and Type Field Description protected java.util.List<BulkIndexRequestInterceptor>bulkIndexRequestInterceptorsprotected ElasticsearchCompatibilityelasticsearchCompatibilityprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected org.elasticsearch.client.RestHighLevelClientrestHighLevelClient
-
Constructor Summary
Constructors Constructor Description BulkIndexingSessionFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RestHighLevelClient restHighLevelClient, ElasticsearchCompatibility elasticsearchCompatibility, java.util.List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getSessionType()org.flowable.common.engine.impl.interceptor.SessionopenSession(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
restHighLevelClient
protected org.elasticsearch.client.RestHighLevelClient restHighLevelClient
-
elasticsearchCompatibility
protected ElasticsearchCompatibility elasticsearchCompatibility
-
bulkIndexRequestInterceptors
protected java.util.List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors
-
-
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:
getSessionTypein interfaceorg.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:
openSessionin interfaceorg.flowable.common.engine.impl.interceptor.SessionFactory
-
-