Class LicenseInstanceCountingAgentHistoryManager
java.lang.Object
com.flowable.agent.engine.impl.history.LicenseInstanceCountingAgentHistoryManager
- All Implemented Interfaces:
AgentHistoryManager
public class LicenseInstanceCountingAgentHistoryManager
extends Object
implements AgentHistoryManager
Records license instance counts for started agent instances. Counting is independent of the agent
history level and never repeats the license check (that is done when the agent instance is started).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisCaseScopedOrchestratorAgent(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, AgentInstanceEntity agentInstance) voidrecordAgentInstanceEnd(AgentInstanceEntity agentInstance) voidrecordAgentKnowledgeBaseLinks(AgentInstanceEntity agentInstance, List<KnowledgeBaseSearchResult> knowledgeBaseSearchResults) voidrecordAgentStart(AgentInstanceEntity agentInstance) voidrecordAgentUpdateReference(AgentInstanceEntity agentInstance)
-
Constructor Details
-
LicenseInstanceCountingAgentHistoryManager
public LicenseInstanceCountingAgentHistoryManager()
-
-
Method Details
-
recordAgentStart
- Specified by:
recordAgentStartin interfaceAgentHistoryManager
-
isCaseScopedOrchestratorAgent
protected boolean isCaseScopedOrchestratorAgent(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, AgentInstanceEntity agentInstance) -
recordAgentUpdateReference
- Specified by:
recordAgentUpdateReferencein interfaceAgentHistoryManager
-
recordAgentKnowledgeBaseLinks
public void recordAgentKnowledgeBaseLinks(AgentInstanceEntity agentInstance, List<KnowledgeBaseSearchResult> knowledgeBaseSearchResults) - Specified by:
recordAgentKnowledgeBaseLinksin interfaceAgentHistoryManager
-
recordAgentInstanceEnd
- Specified by:
recordAgentInstanceEndin interfaceAgentHistoryManager
-