Class ReindexStatusJobHandler
java.lang.Object
com.flowable.indexing.reindex.job.ReindexStatusJobHandler
- All Implemented Interfaces:
org.flowable.job.service.JobHandler
Repeating timer that coordinates reindex-batch phase transitions and stops its own timer
(
job.setRepeat(null)) on a terminal state. Engine-lifecycle services resolved from the
CommandContext at execution time to avoid a Spring circular dependency: engine configurers are
wired before the engine is fully initialised.-
Constructor Summary
ConstructorsConstructorDescriptionReindexStatusJobHandler(Supplier<Map<String, ReindexEntityPageHandler>> handlerRegistrySupplier, ReindexingProperties reindexingProperties, tools.jackson.databind.ObjectMapper objectMapper) -
Method Summary
-
Constructor Details
-
ReindexStatusJobHandler
public ReindexStatusJobHandler(Supplier<Map<String, ReindexEntityPageHandler>> handlerRegistrySupplier, ReindexingProperties reindexingProperties, tools.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceorg.flowable.job.service.JobHandler
-
execute
public void execute(org.flowable.job.service.impl.persistence.entity.JobEntity job, String configuration, org.flowable.variable.api.delegate.VariableScope scope, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executein interfaceorg.flowable.job.service.JobHandler
-