Package org.hibernate.search.engine.backend.orchestration.spi
-
Interface Summary Interface Description BatchedWork<P> A work ready to be submitted to aBatchingExecutor
, and eventually processed in a batch by aBatchedWorkProcessor
.BatchedWorkProcessor A processor of batched works submitted to aBatchingExecutor
.SingletonTask.Scheduler SingletonTask.Worker -
Class Summary Class Description AbstractWorkOrchestrator<W> An abstract base for orchestrator implementations, implementing a thread-safe shutdown.BatchingExecutor<P extends BatchedWorkProcessor> An executor of works that accepts works from multiple threads, puts them in a queue, and processes them in batches in a single background thread.SingletonTask A task that can be scheduled for a run and is guaranteed to never run concurrently, regardless of the thread pool it's submitted to.