Class PatternSubexpressionPoolRuntimeSvcImpl
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.pool.PatternSubexpressionPoolRuntimeSvcImpl
- All Implemented Interfaces:
PatternSubexpressionPoolRuntimeSvc
public class PatternSubexpressionPoolRuntimeSvcImpl
extends Object
implements PatternSubexpressionPoolRuntimeSvc
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionPatternSubexpressionPoolRuntimeSvcImpl
(long maxPoolCountConfigured, boolean preventStart) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPatternContext
(int statementId, String statementName, PatternSubexpressionPoolStmtHandler stmtCounts) void
decreaseCount
(EvalNode evalNode, AgentInstanceContext agentInstanceContext) void
forceIncreaseCount
(EvalNode evalNode, AgentInstanceContext agentInstanceContext) void
removeStatement
(int statementId) boolean
tryIncreaseCount
(EvalNode evalNode, AgentInstanceContext agentInstanceContext)
-
Constructor Details
-
PatternSubexpressionPoolRuntimeSvcImpl
public PatternSubexpressionPoolRuntimeSvcImpl(long maxPoolCountConfigured, boolean preventStart)
-
-
Method Details
-
addPatternContext
public void addPatternContext(int statementId, String statementName, PatternSubexpressionPoolStmtHandler stmtCounts) - Specified by:
addPatternContext
in interfacePatternSubexpressionPoolRuntimeSvc
-
removeStatement
public void removeStatement(int statementId) - Specified by:
removeStatement
in interfacePatternSubexpressionPoolRuntimeSvc
-
tryIncreaseCount
- Specified by:
tryIncreaseCount
in interfacePatternSubexpressionPoolRuntimeSvc
-
forceIncreaseCount
- Specified by:
forceIncreaseCount
in interfacePatternSubexpressionPoolRuntimeSvc
-
decreaseCount
- Specified by:
decreaseCount
in interfacePatternSubexpressionPoolRuntimeSvc
-