com.espertech.esper.epl.view
Class OutputStrategySimple

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputStrategySimple
All Implemented Interfaces:
OutputStrategy

public class OutputStrategySimple
extends Object
implements OutputStrategy

An output strategy that outputs if there are results of if the force-update flag is set.


Constructor Summary
OutputStrategySimple()
           
 
Method Summary
 void output(boolean forceUpdate, UniformPair<EventBean[]> result, UpdateDispatchView finalView)
          Outputs the result to the output view and following update policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStrategySimple

public OutputStrategySimple()
Method Detail

output

public void output(boolean forceUpdate,
                   UniformPair<EventBean[]> result,
                   UpdateDispatchView finalView)
Description copied from interface: OutputStrategy
Outputs the result to the output view and following update policy.

Specified by:
output in interface OutputStrategy
Parameters:
forceUpdate - indicates whether output can be skipped, such as when no results collected
result - the output to indicate
finalView - the view to output to

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com