com.espertech.esper.epl.view
Class OutputConditionTime

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputConditionBase
      extended by com.espertech.esper.epl.view.OutputConditionTime
All Implemented Interfaces:
OutputCondition, StopCallback

public final class OutputConditionTime
extends OutputConditionBase
implements OutputCondition, StopCallback

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


Field Summary
 
Fields inherited from class com.espertech.esper.epl.view.OutputConditionBase
outputCallback
 
Constructor Summary
OutputConditionTime(OutputCallback outputCallback, AgentInstanceContext context, OutputConditionTimeFactory outputConditionTimeFactory, boolean isStartConditionOnCreation)
           
 
Method Summary
 void stop()
          Stops the underlying resources.
 java.lang.String toString()
           
 void updateOutputCondition(int newEventsCount, int oldEventsCount)
          Update the output condition.
 
Methods inherited from class com.espertech.esper.epl.view.OutputConditionBase
terminated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.view.OutputCondition
terminated
 

Constructor Detail

OutputConditionTime

public OutputConditionTime(OutputCallback outputCallback,
                           AgentInstanceContext context,
                           OutputConditionTimeFactory outputConditionTimeFactory,
                           boolean isStartConditionOnCreation)
Method Detail

updateOutputCondition

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

Specified by:
updateOutputCondition in interface OutputCondition
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

stop

public void stop()
Description copied from interface: StopCallback
Stops the underlying resources.

Specified by:
stop in interface StopCallback

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