Class ReindexIndexPageJobHandler
java.lang.Object
com.flowable.indexing.reindex.job.ReindexIndexPageJobHandler
- All Implemented Interfaces:
org.flowable.job.service.HistoryJobHandler
public class ReindexIndexPageJobHandler
extends Object
implements org.flowable.job.service.HistoryJobHandler
Reindexes one page of entities into the new index and marks the part COMPLETED. Idempotent: a retried page
is a no-op because backfill writes are create-if-absent. Services/handler registry resolved lazily at
execution time (via the
Supplier) to avoid a Spring circular dependency: engine configurers are
wired before the engine is fully initialised.-
Constructor Summary
ConstructorsConstructorDescriptionReindexIndexPageJobHandler(Supplier<Map<String, ReindexEntityPageHandler>> handlerRegistrySupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.flowable.job.service.impl.persistence.entity.HistoryJobEntity job, String configuration, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) getType()
-
Constructor Details
-
ReindexIndexPageJobHandler
public ReindexIndexPageJobHandler(Supplier<Map<String, ReindexEntityPageHandler>> handlerRegistrySupplier)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceorg.flowable.job.service.HistoryJobHandler
-
execute
public void execute(org.flowable.job.service.impl.persistence.entity.HistoryJobEntity job, String configuration, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, org.flowable.job.service.JobServiceConfiguration jobServiceConfiguration) - Specified by:
executein interfaceorg.flowable.job.service.HistoryJobHandler
-