Class BulkIndexingSessionFactory
- java.lang.Object
-
- com.flowable.indexing.job.history.async.BulkIndexingSessionFactory
-
- All Implemented Interfaces:
SessionFactory
public class BulkIndexingSessionFactory extends Object implements SessionFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected List<BulkIndexRequestInterceptor>
bulkIndexRequestInterceptors
protected ElasticsearchClient
elasticsearchClient
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description BulkIndexingSessionFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchClient elasticsearchClient, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getSessionType()
Session
openSession(CommandContext commandContext)
-
-
-
Field Detail
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
elasticsearchClient
protected ElasticsearchClient elasticsearchClient
-
bulkIndexRequestInterceptors
protected List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors
-
-
Constructor Detail
-
BulkIndexingSessionFactory
public BulkIndexingSessionFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchClient elasticsearchClient, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors)
-
-
Method Detail
-
getSessionType
public Class<?> getSessionType()
- Specified by:
getSessionType
in interfaceSessionFactory
-
openSession
public Session openSession(CommandContext commandContext)
- Specified by:
openSession
in interfaceSessionFactory
-
-