Class ConditionPatternRuntimeSubexpressionMax
java.lang.Object
com.espertech.esper.common.client.hook.condition.ConditionPatternRuntimeSubexpressionMax
- All Implemented Interfaces:
BaseCondition
Indicates that on the runtimelevel the followed-by pattern operator, regardless whether parameterized with a max number of sub-expressions or not,
has reached the configured runtime-wide limit at runtime.
-
Constructor Summary
ConstructorDescriptionConditionPatternRuntimeSubexpressionMax
(long max, Map<String, Long> counts) Ctor. -
Method Summary
-
Constructor Details
-
ConditionPatternRuntimeSubexpressionMax
Ctor.- Parameters:
max
- limit reachedcounts
- the number of subexpression counts per statement
-
-
Method Details
-
getMax
public long getMax()Returns the limit reached.- Returns:
- limit
-
getCounts
Returns the per-statement count.- Returns:
- count
-