Class PojoIndexingPlanEventProcessingStrategy
java.lang.Object
org.hibernate.search.mapper.pojo.work.impl.PojoIndexingPlanEventProcessingStrategy
A strategy for processing indexing events sent by a
PojoIndexingPlanEventSendingStrategy.-
Constructor Summary
ConstructorsConstructorDescriptionPojoIndexingPlanEventProcessingStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan) -
Method Summary
Modifier and TypeMethodDescription<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) doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?, ?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter) boolean
-
Constructor Details
-
PojoIndexingPlanEventProcessingStrategy
public PojoIndexingPlanEventProcessingStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan)
-
-
Method Details
-
shouldResolveDirtyForDeleteOnly
public boolean shouldResolveDirtyForDeleteOnly() -
doExecuteAndReport
public CompletableFuture<MultiEntityOperationExecutionReport> doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?, ?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter) -
doDiscard
-
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)
-