|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.view.OutputConditionPolledExpression
public class OutputConditionPolledExpression
Output condition for output rate limiting that handles when-then expressions for controlling output.
Constructor Summary | |
---|---|
OutputConditionPolledExpression(ExprNode whenExpressionNode,
java.util.List<OnTriggerSetAssignment> assignments,
AgentInstanceContext agentInstanceContext)
Ctor. |
Method Summary | |
---|---|
boolean |
updateOutputCondition(int newEventsCount,
int oldEventsCount)
Update the output condition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputConditionPolledExpression(ExprNode whenExpressionNode, java.util.List<OnTriggerSetAssignment> assignments, AgentInstanceContext agentInstanceContext) throws ExprValidationException
whenExpressionNode
- the expression to evaluate, returning true when to outputassignments
- is the optional then-clause variable assignments, or null or empty if none
ExprValidationException
- when validation failsMethod Detail |
---|
public boolean updateOutputCondition(int newEventsCount, int oldEventsCount)
OutputConditionPolled
updateOutputCondition
in interface OutputConditionPolled
newEventsCount
- - number of new events incomingoldEventsCount
- - number of old events incoming
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |