com.espertech.esper.epl.view
Class OutputConditionPolledCrontab

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputConditionPolledCrontab
All Implemented Interfaces:
OutputConditionPolled

public final class OutputConditionPolledCrontab
extends java.lang.Object
implements OutputConditionPolled

Output condition handling crontab-at schedule output.


Constructor Summary
OutputConditionPolledCrontab(java.util.List<ExprNode> scheduleSpecExpressionList, AgentInstanceContext agentInstanceContext)
          Constructor.
 
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

OutputConditionPolledCrontab

public OutputConditionPolledCrontab(java.util.List<ExprNode> scheduleSpecExpressionList,
                                    AgentInstanceContext agentInstanceContext)
                             throws ExprValidationException
Constructor.

Parameters:
agentInstanceContext - is the view context for time scheduling
scheduleSpecExpressionList - list of schedule parameters
Throws:
ExprValidationException - if the crontab expression failed to validate
Method Detail

updateOutputCondition

public final boolean updateOutputCondition(int newEventsCount,
                                           int oldEventsCount)
Description copied from interface: OutputConditionPolled
Update the output condition.

Specified by:
updateOutputCondition in interface OutputConditionPolled
Parameters:
newEventsCount - - number of new events incoming
oldEventsCount - - number of old events incoming

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