public class MatchRecognizeStatePoolEngineSvc extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MatchRecognizeStatePoolEngineSvc.StatementEntry |
Constructor and Description |
---|
MatchRecognizeStatePoolEngineSvc(long maxPoolCountConfigured,
boolean preventStart) |
Modifier and Type | Method and Description |
---|---|
void |
addPatternContext(String statementName,
MatchRecognizeStatePoolStmtHandler stmtCounts) |
void |
decreaseCount(AgentInstanceContext agentInstanceContext) |
void |
decreaseCount(AgentInstanceContext agentInstanceContext,
int numRemoved) |
void |
removeStatement(String name) |
void |
setMatchRecognizeMaxStates(Long maxStates) |
boolean |
tryIncreaseCount(AgentInstanceContext agentInstanceContext) |
public MatchRecognizeStatePoolEngineSvc(long maxPoolCountConfigured, boolean preventStart)
public void setMatchRecognizeMaxStates(Long maxStates)
public void addPatternContext(String statementName, MatchRecognizeStatePoolStmtHandler stmtCounts)
public void removeStatement(String name)
public boolean tryIncreaseCount(AgentInstanceContext agentInstanceContext)
public void decreaseCount(AgentInstanceContext agentInstanceContext)
public void decreaseCount(AgentInstanceContext agentInstanceContext, int numRemoved)