Class ReindexAgentInstancesCmd
java.lang.Object
com.flowable.platform.engine.impl.indexing.reindex.ReindexAgentInstancesCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<Void>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AgentInstanceIndexingSchedulerprotected Stringprotected intprotected int -
Constructor Summary
ConstructorsConstructorDescriptionReindexAgentInstancesCmd(AgentInstanceIndexingScheduler agentInstanceIndexingScheduler, String indexName, int start, int pageSize) -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected StringresolveAgentDefinitionName(AgentEngineConfigurationApi agentEngineConfiguration, Map<String, String> agentDefinitionIdToName, String agentDefinitionId) Returns the (possibly null) name for the given agent definition id, looking it up at most once per page.
-
Field Details
-
agentInstanceIndexingScheduler
-
indexName
-
start
protected int start -
pageSize
protected int pageSize
-
-
Constructor Details
-
ReindexAgentInstancesCmd
public ReindexAgentInstancesCmd(AgentInstanceIndexingScheduler agentInstanceIndexingScheduler, String indexName, int start, int pageSize)
-
-
Method Details
-
execute
-
resolveAgentDefinitionName
protected String resolveAgentDefinitionName(AgentEngineConfigurationApi agentEngineConfiguration, Map<String, String> agentDefinitionIdToName, String agentDefinitionId) Returns the (possibly null) name for the given agent definition id, looking it up at most once per page.agentDefinitionId == nullshort-circuits tonullwithout touching the cache.
-