Package org.hibernate.search.engine.backend.orchestration.spi
package org.hibernate.search.engine.backend.orchestration.spi
-
ClassDescriptionAn abstract base for orchestrator implementations, implementing a thread-safe shutdown.BatchedWork<P>A work ready to be submitted to a
BatchingExecutor
, and eventually processed in a batch by aBatchedWorkProcessor
.A processor of batched works submitted to aBatchingExecutor
.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.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.