Interface LuceneParallelWorkOrchestrator

All Known Implementing Classes:
LuceneParallelWorkOrchestratorImpl

public interface LuceneParallelWorkOrchestrator
A thread-safe component planning the execution of works in parallel, without any consideration for the order they were submitted in.

Parallel orchestrators are suitable when the client takes the responsibility of submitting works as needed to implement ordering: if work #2 must be executed after work #1, the client will take care of waiting until #1 is done before he submits #2.

With a parallel orchestrator:

  • Works are executed in unpredictable order, irrespective of the order they were submitted in.
  • The application will not wait for already-submitted works to finish when shutting down.