com.espertech.esper.client.hook
Class ConditionPatternEngineSubexpressionMax

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

public class ConditionPatternEngineSubexpressionMax
extends java.lang.Object
implements BaseCondition

Indicates that on the engine level the followed-by pattern operator, regardless whether parameterized with a max number of sub-expressions or not, has reached the configured engine-wide limit at runtime.


Constructor Summary
ConditionPatternEngineSubexpressionMax(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

ConditionPatternEngineSubexpressionMax

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

Parameters:
max - limit reached
counts - the number of subexpression 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-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com