com.espertech.esper.epl.view
Class OutputConditionPolledCountFactory

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputConditionPolledCountFactory
All Implemented Interfaces:
OutputConditionPolledFactory

public final class OutputConditionPolledCountFactory
extends java.lang.Object
implements OutputConditionPolledFactory

Output limit condition that is satisfied when either the total number of new events arrived or the total number of old events arrived is greater than a preset value.


Constructor Summary
OutputConditionPolledCountFactory(int eventRate, StatementContext statementContext, java.lang.String variableName)
          Constructor.
 
Method Summary
 OutputConditionPolled makeFromState(AgentInstanceContext agentInstanceContext, OutputConditionPolledState state)
           
 OutputConditionPolled makeNew(AgentInstanceContext agentInstanceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputConditionPolledCountFactory

public OutputConditionPolledCountFactory(int eventRate,
                                         StatementContext statementContext,
                                         java.lang.String variableName)
Constructor.

Parameters:
eventRate - is the number of old or new events that must arrive in order for the condition to be satisfied
Method Detail

makeNew

public OutputConditionPolled makeNew(AgentInstanceContext agentInstanceContext)
Specified by:
makeNew in interface OutputConditionPolledFactory

makeFromState

public OutputConditionPolled makeFromState(AgentInstanceContext agentInstanceContext,
                                           OutputConditionPolledState state)
Specified by:
makeFromState in interface OutputConditionPolledFactory

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