Class ReindexTasksCmd
- java.lang.Object
-
- com.flowable.platform.engine.impl.indexing.reindex.ReindexTasksCmd
-
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
public class ReindexTasksCmd extends java.lang.Object implements org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
index
protected int
pageSize
protected int
start
protected TaskIndexingScheduler
taskIndexingScheduler
-
Constructor Summary
Constructors Constructor Description ReindexTasksCmd(TaskIndexingScheduler taskIndexingScheduler, java.lang.String index, int start, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
protected void
scheduleReindex(org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, org.flowable.cmmn.api.CmmnRepositoryService cmmnRepositoryService, org.flowable.task.api.history.HistoricTaskInstance task)
-
-
-
Field Detail
-
taskIndexingScheduler
protected TaskIndexingScheduler taskIndexingScheduler
-
index
protected java.lang.String index
-
start
protected int start
-
pageSize
protected int pageSize
-
-
Constructor Detail
-
ReindexTasksCmd
public ReindexTasksCmd(TaskIndexingScheduler taskIndexingScheduler, java.lang.String index, int start, int pageSize)
-
-
Method Detail
-
execute
public java.lang.Void execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
-
scheduleReindex
protected void scheduleReindex(org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, org.flowable.cmmn.api.CmmnRepositoryService cmmnRepositoryService, org.flowable.task.api.history.HistoricTaskInstance task)
-
-