com.espertech.esper.rowregex
Class MatchRecognizeStatePoolEngineSvc

java.lang.Object
  extended by com.espertech.esper.rowregex.MatchRecognizeStatePoolEngineSvc

public class MatchRecognizeStatePoolEngineSvc
extends java.lang.Object


Nested Class Summary
static class MatchRecognizeStatePoolEngineSvc.StatementEntry
           
 
Constructor Summary
MatchRecognizeStatePoolEngineSvc(long maxPoolCountConfigured, boolean preventStart)
           
 
Method Summary
 void addPatternContext(java.lang.String statementName, MatchRecognizeStatePoolStmtHandler stmtCounts)
           
 void decreaseCount(AgentInstanceContext agentInstanceContext)
           
 void decreaseCount(AgentInstanceContext agentInstanceContext, int numRemoved)
           
 void removeStatement(java.lang.String name)
           
 void setMatchRecognizeMaxStates(java.lang.Long maxStates)
           
 boolean tryIncreaseCount(AgentInstanceContext agentInstanceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRecognizeStatePoolEngineSvc

public MatchRecognizeStatePoolEngineSvc(long maxPoolCountConfigured,
                                        boolean preventStart)
Method Detail

setMatchRecognizeMaxStates

public void setMatchRecognizeMaxStates(java.lang.Long maxStates)

addPatternContext

public void addPatternContext(java.lang.String statementName,
                              MatchRecognizeStatePoolStmtHandler stmtCounts)

removeStatement

public void removeStatement(java.lang.String name)

tryIncreaseCount

public boolean tryIncreaseCount(AgentInstanceContext agentInstanceContext)

decreaseCount

public void decreaseCount(AgentInstanceContext agentInstanceContext)

decreaseCount

public void decreaseCount(AgentInstanceContext agentInstanceContext,
                          int numRemoved)

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com