Class PojoIndexingPlanEventProcessingStrategy
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.work.impl.PojoIndexingPlanEventProcessingStrategy
-
public class PojoIndexingPlanEventProcessingStrategy extends Object
A strategy for processing indexing events sent by aPojoIndexingPlanEventSendingStrategy.
-
-
Constructor Summary
Constructors Constructor Description PojoIndexingPlanEventProcessingStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I,E>
PojoContainedTypeIndexingPlan<I,E>createDelegate(PojoWorkContainedTypeContext<I,E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root)<I,E>
PojoIndexedTypeIndexingPlan<I,E>createIndexedDelegate(PojoWorkIndexedTypeContext<I,E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root)voiddoDiscard(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates)CompletableFuture<MultiEntityOperationExecutionReport>doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter)booleanshouldResolveDirtyForDeleteOnly()
-
-
-
Constructor Detail
-
PojoIndexingPlanEventProcessingStrategy
public PojoIndexingPlanEventProcessingStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan)
-
-
Method Detail
-
shouldResolveDirtyForDeleteOnly
public boolean shouldResolveDirtyForDeleteOnly()
-
doExecuteAndReport
public CompletableFuture<MultiEntityOperationExecutionReport> doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter)
-
doDiscard
public void doDiscard(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates)
-
createIndexedDelegate
public <I,E> PojoIndexedTypeIndexingPlan<I,E> createIndexedDelegate(PojoWorkIndexedTypeContext<I,E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root)
-
createDelegate
public <I,E> PojoContainedTypeIndexingPlan<I,E> createDelegate(PojoWorkContainedTypeContext<I,E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root)
-
-