net.esper.pattern.guard
Interface Guard

All Known Implementing Classes:
TimerWithinGuard

public interface Guard

Guard instances inspect a matched events and makes a determination on whether to let it pass or not.


Method Summary
 boolean inspect(MatchedEventMap matchEvent)
          Returns true if inspection shows that the match events can pass, or false to not pass.
 void startGuard()
          Start the guard operation.
 void stopGuard()
          Called when sub-expression quits, or when the pattern stopped.
 

Method Detail

startGuard

void startGuard()
Start the guard operation.


stopGuard

void stopGuard()
Called when sub-expression quits, or when the pattern stopped.


inspect

boolean inspect(MatchedEventMap matchEvent)
Returns true if inspection shows that the match events can pass, or false to not pass.

Parameters:
matchEvent -
Returns:
true to pass, false to not pass