Class ElasticsearchBatchingWorkOrchestrator

java.lang.Object
org.hibernate.search.engine.backend.orchestration.spi.AbstractWorkOrchestrator<W>
org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchBatchingWorkOrchestrator
All Implemented Interfaces:
ElasticsearchSerialWorkOrchestrator

public class ElasticsearchBatchingWorkOrchestrator extends AbstractWorkOrchestrator<W> implements ElasticsearchSerialWorkOrchestrator
An orchestrator sending works to a queue which is processed periodically in a separate thread.

Works are processed in the order they are submitted.

Processing works in a single thread means more works can be processed at a time, which is a good thing when using bulk works.