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 Object
implements org.flowable.common.engine.impl.interceptor.SessionFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<BulkIndexRequestInterceptor> protected ElasticsearchClient
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorsConstructorDescriptionBulkIndexingSessionFactory
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchClient elasticsearchClient, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors) -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> org.flowable.common.engine.impl.interceptor.Session
openSession
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
elasticsearchClient
-
bulkIndexRequestInterceptors
-
-
Constructor Details
-
BulkIndexingSessionFactory
public BulkIndexingSessionFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ElasticsearchClient elasticsearchClient, List<BulkIndexRequestInterceptor> bulkIndexRequestInterceptors)
-
-
Method Details
-
getSessionType
- Specified by:
getSessionType
in 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:
openSession
in interfaceorg.flowable.common.engine.impl.interceptor.SessionFactory
-