Class ConditionPatternRuntimeSubexpressionMax

java.lang.Object
com.espertech.esper.common.client.hook.condition.ConditionPatternRuntimeSubexpressionMax
All Implemented Interfaces:
BaseCondition

public class ConditionPatternRuntimeSubexpressionMax extends Object implements 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 Details

    • ConditionPatternRuntimeSubexpressionMax

      public ConditionPatternRuntimeSubexpressionMax(long max, Map<String,Long> counts)
      Ctor.
      Parameters:
      max - limit reached
      counts - the number of subexpression counts per statement
  • Method Details

    • getMax

      public long getMax()
      Returns the limit reached.
      Returns:
      limit
    • getCounts

      public Map<String,Long> getCounts()
      Returns the per-statement count.
      Returns:
      count