Class ConditionMatchRecognizeStatesMax

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

public class ConditionMatchRecognizeStatesMax extends Object implements BaseCondition
Indicates that on the runtimelevel the match-recognize has reached the configured runtime-wide limit at runtime.
  • Constructor Details

    • ConditionMatchRecognizeStatesMax

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

    • getMax

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

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