com.espertech.esper.epl.view
Class OutputConditionTimeFactory

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputConditionTimeFactory
All Implemented Interfaces:
OutputConditionFactory

public final class OutputConditionTimeFactory
extends java.lang.Object
implements OutputConditionFactory

Output condition that is satisfied at the end of every time interval of a given length.


Constructor Summary
OutputConditionTimeFactory(ExprTimePeriod timePeriod, StatementContext statementContext)
          Constructor.
 
Method Summary
 long getMsecIntervalSize()
           
 ExprTimePeriod getTimePeriod()
           
 OutputCondition make(AgentInstanceContext agentInstanceContext, OutputCallback outputCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputConditionTimeFactory

public OutputConditionTimeFactory(ExprTimePeriod timePeriod,
                                  StatementContext statementContext)
Constructor.

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

make

public OutputCondition make(AgentInstanceContext agentInstanceContext,
                            OutputCallback outputCallback)
Specified by:
make in interface OutputConditionFactory

getTimePeriod

public ExprTimePeriod getTimePeriod()

getMsecIntervalSize

public long getMsecIntervalSize()

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