public class OutputProcessViewAfterStateImpl extends Object implements OutputProcessViewAfterState
Modifier and Type | Field and Description |
---|---|
protected boolean |
isAfterConditionSatisfied |
Constructor and Description |
---|
OutputProcessViewAfterStateImpl(Long afterConditionTime,
Integer afterConditionNumberOfEvents) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkUpdateAfterCondition(EventBean[] newEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
boolean |
checkUpdateAfterCondition(Set<MultiKey<EventBean>> newEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
boolean |
checkUpdateAfterCondition(UniformPair<EventBean[]> newOldEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
void |
destroy() |
public boolean checkUpdateAfterCondition(EventBean[] newEvents, StatementContext statementContext)
checkUpdateAfterCondition
in interface OutputProcessViewAfterState
newEvents
- is the view new eventspublic boolean checkUpdateAfterCondition(Set<MultiKey<EventBean>> newEvents, StatementContext statementContext)
checkUpdateAfterCondition
in interface OutputProcessViewAfterState
newEvents
- is the join new eventspublic boolean checkUpdateAfterCondition(UniformPair<EventBean[]> newOldEvents, StatementContext statementContext)
checkUpdateAfterCondition
in interface OutputProcessViewAfterState
newOldEvents
- is the new and old events pairpublic void destroy()
destroy
in interface OutputProcessViewAfterState