com.espertech.esper.client.hook
Class ConditionMatchRecognizeStatesMax

java.lang.Object
  extended by com.espertech.esper.client.hook.ConditionMatchRecognizeStatesMax
All Implemented Interfaces:
BaseCondition

public class ConditionMatchRecognizeStatesMax
extends java.lang.Object
implements BaseCondition

Indicates that on the engine level the match-recognize has reached the configured engine-wide limit at runtime.


Constructor Summary
ConditionMatchRecognizeStatesMax(long max, java.util.Map<java.lang.String,java.lang.Long> counts)
          Ctor.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Long> getCounts()
          Returns the per-statement count.
 long getMax()
          Returns the limit reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionMatchRecognizeStatesMax

public ConditionMatchRecognizeStatesMax(long max,
                                        java.util.Map<java.lang.String,java.lang.Long> counts)
Ctor.

Parameters:
max - limit reached
counts - the number of state counts per statement
Method Detail

getMax

public long getMax()
Returns the limit reached.

Returns:
limit

getCounts

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

Returns:
count

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com