Class PojoMassIndexingEntityLoadingRunnable<E,I>
java.lang.Object
org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingFailureHandledRunnable
org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingEntityLoadingRunnable<E,I>
- All Implemented Interfaces:
Runnable
public class PojoMassIndexingEntityLoadingRunnable<E,I>
extends PojoMassIndexingFailureHandledRunnable
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPojoMassIndexingEntityLoadingRunnable(PojoMassIndexingNotifier notifier, PojoMassIndexingContext massIndexingContext, MassIndexingEnvironment environment, PojoMassIndexingIndexedTypeGroup<E> typeGroup, PojoMassLoadingStrategy<E, I> loadingStrategy, PojoProducerConsumerQueue<List<I>> identifierQueue, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected MassIndexingEnvironment.Contextprotected Stringprotected voidprotected booleanMethods inherited from class org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingFailureHandledRunnable
afterExecution, beforeExecution, getMassIndexingEnvironment, getNotifier, notifyError, notifyFailure, notifyInterrupted, notifySuccess, run
-
Constructor Details
-
PojoMassIndexingEntityLoadingRunnable
protected PojoMassIndexingEntityLoadingRunnable(PojoMassIndexingNotifier notifier, PojoMassIndexingContext massIndexingContext, MassIndexingEnvironment environment, PojoMassIndexingIndexedTypeGroup<E> typeGroup, PojoMassLoadingStrategy<E, I> loadingStrategy, PojoProducerConsumerQueue<List<I>> identifierQueue, String tenantId)
-
-
Method Details
-
runWithFailureHandler
- Specified by:
runWithFailureHandlerin classPojoMassIndexingFailureHandledRunnable- Throws:
InterruptedException
-
cleanUpOnFailure
protected void cleanUpOnFailure()- Specified by:
cleanUpOnFailurein classPojoMassIndexingFailureHandledRunnable
-
cleanUpOnInterruption
protected void cleanUpOnInterruption()- Specified by:
cleanUpOnInterruptionin classPojoMassIndexingFailureHandledRunnable
-
createMassIndexingEnvironmentContext
- Overrides:
createMassIndexingEnvironmentContextin classPojoMassIndexingFailureHandledRunnable
-
supportsThreadLifecycleHooks
protected boolean supportsThreadLifecycleHooks()- Overrides:
supportsThreadLifecycleHooksin classPojoMassIndexingFailureHandledRunnable
-
operationName
- Overrides:
operationNamein classPojoMassIndexingFailureHandledRunnable
-