Class ConditionMatchRecognizeStatesMax
java.lang.Object
com.espertech.esper.common.client.hook.condition.ConditionMatchRecognizeStatesMax
- All Implemented Interfaces:
BaseCondition
Indicates that on the runtimelevel the match-recognize has reached the configured runtime-wide limit at runtime.
-
Constructor Summary
ConstructorDescriptionConditionMatchRecognizeStatesMax
(long max, Map<DeploymentIdNamePair, Long> counts) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the per-statement count.long
getMax()
Returns the limit reached.
-
Constructor Details
-
ConditionMatchRecognizeStatesMax
Ctor.- Parameters:
max
- limit reachedcounts
- the number of state counts per statement
-
-
Method Details
-
getMax
public long getMax()Returns the limit reached.- Returns:
- limit
-
getCounts
Returns the per-statement count.- Returns:
- count
-