Class PojoMassIndexingEntityIdentifierLoadingRunnable<E,I>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingFailureHandledRunnable
-
- org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingEntityIdentifierLoadingRunnable<E,I>
-
- All Implemented Interfaces:
Runnable
public class PojoMassIndexingEntityIdentifierLoadingRunnable<E,I> extends PojoMassIndexingFailureHandledRunnable
-
-
Constructor Summary
Constructors Constructor Description PojoMassIndexingEntityIdentifierLoadingRunnable(PojoMassIndexingNotifier notifier, MassIndexingEnvironment environment, PojoMassIndexingIndexedTypeGroup<E> typeGroup, PojoMassIndexingLoadingStrategy<E,I> loadingStrategy, PojoProducerConsumerQueue<List<I>> identifierQueue, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanUpOnFailure()protected voidcleanUpOnInterruption()protected MassIndexingEnvironment.ContextcreateMassIndexingEnvironmentContext()protected StringoperationName()protected voidrunWithFailureHandler()protected booleansupportsThreadLifecycleHooks()-
Methods inherited from class org.hibernate.search.mapper.pojo.massindexing.impl.PojoMassIndexingFailureHandledRunnable
afterExecution, beforeExecution, getMassIndexingEnvironment, getNotifier, notifyError, notifyFailure, notifyInterrupted, notifySuccess, run
-
-
-
-
Constructor Detail
-
PojoMassIndexingEntityIdentifierLoadingRunnable
public PojoMassIndexingEntityIdentifierLoadingRunnable(PojoMassIndexingNotifier notifier, MassIndexingEnvironment environment, PojoMassIndexingIndexedTypeGroup<E> typeGroup, PojoMassIndexingLoadingStrategy<E,I> loadingStrategy, PojoProducerConsumerQueue<List<I>> identifierQueue, String tenantId)
-
-
Method Detail
-
runWithFailureHandler
protected void runWithFailureHandler() throws InterruptedException- Specified by:
runWithFailureHandlerin classPojoMassIndexingFailureHandledRunnable- Throws:
InterruptedException
-
cleanUpOnFailure
protected void cleanUpOnFailure()
- Specified by:
cleanUpOnFailurein classPojoMassIndexingFailureHandledRunnable
-
cleanUpOnInterruption
protected void cleanUpOnInterruption()
- Specified by:
cleanUpOnInterruptionin classPojoMassIndexingFailureHandledRunnable
-
createMassIndexingEnvironmentContext
protected MassIndexingEnvironment.Context createMassIndexingEnvironmentContext()
- Overrides:
createMassIndexingEnvironmentContextin classPojoMassIndexingFailureHandledRunnable
-
supportsThreadLifecycleHooks
protected boolean supportsThreadLifecycleHooks()
- Overrides:
supportsThreadLifecycleHooksin classPojoMassIndexingFailureHandledRunnable
-
operationName
protected String operationName()
- Overrides:
operationNamein classPojoMassIndexingFailureHandledRunnable
-
-