Interface MassIndexingEnvironment
-
@Incubating public interface MassIndexingEnvironment
An interface for pluggable components that set up and tear down the environment of mass indexing threads, for example, to initializeThreadLocals. See interfaces extendingMassIndexingEnvironment.Contextto learn which threads will attempt to execute configured hooks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMassIndexingEnvironment.Contextstatic interfaceMassIndexingEnvironment.EntityIdentifierLoadingContextContext provided toMassIndexingEnvironmentwhen configured hooks are considered for execution around the identifier loading work.static interfaceMassIndexingEnvironment.EntityLoadingContextContext provided toMassIndexingEnvironmentwhen configured hooks are considered for execution around the entity loading work.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterExecution(MassIndexingEnvironment.Context context)Method is going to be invoked after completion of execution of the main logic of aRunnablein the given thread.voidbeforeExecution(MassIndexingEnvironment.Context context)Method is going to be invoked prior to executing the main logic of aRunnablein the given thread.
-
-
-
Method Detail
-
beforeExecution
void beforeExecution(MassIndexingEnvironment.Context context)
Method is going to be invoked prior to executing the main logic of aRunnablein the given thread.
-
afterExecution
void afterExecution(MassIndexingEnvironment.Context context)
Method is going to be invoked after completion of execution of the main logic of aRunnablein the given thread. Will not be called ifbeforeExecution(Context)results in an exception.
-
-