Class LuceneSyncWorkOrchestratorImpl
- java.lang.Object
-
- org.hibernate.search.engine.backend.orchestration.spi.AbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>>
-
- org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl
-
- All Implemented Interfaces:
LuceneSyncWorkOrchestrator
public class LuceneSyncWorkOrchestratorImpl extends AbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>> implements LuceneSyncWorkOrchestrator
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.engine.backend.orchestration.spi.AbstractWorkOrchestrator
blockingRetryProducer
-
-
Constructor Summary
Constructors Constructor Description LuceneSyncWorkOrchestratorImpl(String name, org.apache.lucene.search.similarities.Similarity similarity, LuceneQueryCachingContext cachingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CompletableFuture<?>completion()protected voiddoStart(ConfigurationPropertySource propertySource)protected voiddoStop()protected voiddoSubmit(org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?> work, OperationSubmitter operationSubmitter)<T> Tsubmit(Set<String> indexNames, Collection<? extends ReadIndexManagerContext> indexManagerContexts, Set<String> routingKeys, ReadWork<T> work, HibernateSearchMultiReader indexReader)-
Methods inherited from class org.hibernate.search.engine.backend.orchestration.spi.AbstractWorkOrchestrator
name, preStop, start, stop, submit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestrator
submit
-
-
-
-
Constructor Detail
-
LuceneSyncWorkOrchestratorImpl
public LuceneSyncWorkOrchestratorImpl(String name, org.apache.lucene.search.similarities.Similarity similarity, LuceneQueryCachingContext cachingContext)
-
-
Method Detail
-
submit
public <T> T submit(Set<String> indexNames, Collection<? extends ReadIndexManagerContext> indexManagerContexts, Set<String> routingKeys, ReadWork<T> work, HibernateSearchMultiReader indexReader)
- Specified by:
submitin interfaceLuceneSyncWorkOrchestrator
-
doStart
protected void doStart(ConfigurationPropertySource propertySource)
- Specified by:
doStartin classAbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>>
-
doSubmit
protected void doSubmit(org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?> work, OperationSubmitter operationSubmitter)- Specified by:
doSubmitin classAbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>>
-
completion
protected CompletableFuture<?> completion()
- Specified by:
completionin classAbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>>
-
doStop
protected void doStop()
- Specified by:
doStopin classAbstractWorkOrchestrator<org.hibernate.search.backend.lucene.orchestration.impl.LuceneSyncWorkOrchestratorImpl.WorkExecution<?>>
-
-