public abstract class OutputProcessViewBaseWAfter extends OutputProcessViewBase
childView, joinExecutionStrategy, parentView, resultSetProcessor
Modifier | Constructor and Description |
---|---|
protected |
OutputProcessViewBaseWAfter(ResultSetProcessorHelperFactory resultSetProcessorHelperFactory,
AgentInstanceContext agentInstanceContext,
ResultSetProcessor resultSetProcessor,
Long afterConditionTime,
Integer afterConditionNumberOfEvents,
boolean afterConditionSatisfied) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAfterCondition(EventBean[] newEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
boolean |
checkAfterCondition(Set<MultiKey<EventBean>> newEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
boolean |
checkAfterCondition(UniformPair<EventBean[]> newOldEvents,
StatementContext statementContext)
Returns true if the after-condition is satisfied.
|
OutputProcessViewAfterState |
getOptionalAfterConditionState() |
void |
stop()
Stops the underlying resources.
|
addView, getEventType, getNumChangesetRows, getOptionalDeltaSet, getOptionalOutputCondition, getParent, getResultSetProcessor, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
forEach, spliterator
process
terminated
protected OutputProcessViewBaseWAfter(ResultSetProcessorHelperFactory resultSetProcessorHelperFactory, AgentInstanceContext agentInstanceContext, ResultSetProcessor resultSetProcessor, Long afterConditionTime, Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied)
public OutputProcessViewAfterState getOptionalAfterConditionState()
getOptionalAfterConditionState
in class OutputProcessViewBase
public boolean checkAfterCondition(EventBean[] newEvents, StatementContext statementContext)
newEvents
- is the view new eventsstatementContext
- contextpublic boolean checkAfterCondition(Set<MultiKey<EventBean>> newEvents, StatementContext statementContext)
newEvents
- is the join new eventsstatementContext
- contextpublic boolean checkAfterCondition(UniformPair<EventBean[]> newOldEvents, StatementContext statementContext)
newOldEvents
- is the new and old events pairstatementContext
- contextpublic void stop()
StopCallback