public abstract class OutputProcessViewBaseWAfter extends OutputProcessView implements OutputProcessViewWithAfter
Modifier and Type | Field and Description |
---|---|
protected AgentInstanceContext |
agentInstanceContext |
protected ResultSetProcessor |
resultSetProcessor |
child, joinExecutionStrategy, parentView
INSTANCE_NO_ACTION
Modifier | Constructor and Description |
---|---|
protected |
OutputProcessViewBaseWAfter(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.
|
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
OutputProcessViewAfterState |
getOptionalAfterConditionState() |
void |
stop(AgentInstanceStopServices services) |
getChild, getNumChangesetRows, getOptionalOutputCondition, getParent, setChild, setJoinExecutionStrategy, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
process
terminated
protected final AgentInstanceContext agentInstanceContext
protected final ResultSetProcessor resultSetProcessor
protected OutputProcessViewBaseWAfter(AgentInstanceContext agentInstanceContext, ResultSetProcessor resultSetProcessor, Long afterConditionTime, Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied)
public OutputProcessViewAfterState getOptionalAfterConditionState()
getOptionalAfterConditionState
in interface OutputProcessViewWithAfter
public EventType getEventType()
Viewable
getEventType
in interface Viewable
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(AgentInstanceStopServices services)
stop
in interface AgentInstanceStopCallback
Copyright © 2005–2018. All rights reserved.