com.espertech.esper.epl.view
Class OutputConditionPolledTime

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

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


Constructor Summary
OutputConditionPolledTime(ExprTimePeriod timePeriod, AgentInstanceContext context)
          Constructor.
 
Method Summary
 java.lang.String toString()
           
 boolean updateOutputCondition(int newEventsCount, int oldEventsCount)
          Update the output condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputConditionPolledTime

public OutputConditionPolledTime(ExprTimePeriod timePeriod,
                                 AgentInstanceContext context)
Constructor.

Parameters:
timePeriod - is the number of minutes or seconds to batch events for, may include variables
context - is the view context for time scheduling
Method Detail

updateOutputCondition

public 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

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

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