Interface MassIndexingEnvironment
An interface for pluggable components that set up and tear down the environment of mass indexing threads,
for example, to initialize
ThreadLocals
. See interfaces extending MassIndexingEnvironment.Context
to learn which threads will
attempt to execute configured hooks.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
Context provided toMassIndexingEnvironment
when configured hooks are considered for execution around the identifier loading work.static interface
Context provided toMassIndexingEnvironment
when configured hooks are considered for execution around the entity loading work. -
Method Summary
-
Method Details
-
beforeExecution
Method is going to be invoked prior to executing the main logic of aRunnable
in the given thread. -
afterExecution
Method is going to be invoked after completion of execution of the main logic of aRunnable
in the given thread. Will not be called ifbeforeExecution(Context)
results in an exception.
-