public class OutputProcessViewConditionDefault extends OutputProcessViewBaseWAfter
Handles output rate limiting or stabilizing.
Constructor and Description |
---|
OutputProcessViewConditionDefault(ResultSetProcessor resultSetProcessor,
java.lang.Long afterConditionTime,
java.lang.Integer afterConditionNumberOfEvents,
boolean afterConditionSatisfied,
OutputProcessViewConditionFactory parent,
AgentInstanceContext agentInstanceContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection.
|
void |
process(java.util.Set<MultiKey<EventBean>> newEvents,
java.util.Set<MultiKey<EventBean>> oldEvents,
ExprEvaluatorContext exprEvaluatorContext)
This process (update) method is for participation in a join.
|
void |
terminated() |
void |
update(EventBean[] newData,
EventBean[] oldData)
The update method is called if the view does not participate in a join.
|
checkAfterCondition, checkAfterCondition, checkAfterCondition
addView, getEventType, getParent, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent
public OutputProcessViewConditionDefault(ResultSetProcessor resultSetProcessor, java.lang.Long afterConditionTime, java.lang.Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied, OutputProcessViewConditionFactory parent, AgentInstanceContext agentInstanceContext)
public void update(EventBean[] newData, EventBean[] oldData)
newData
- - new eventsoldData
- - old eventspublic void process(java.util.Set<MultiKey<EventBean>> newEvents, java.util.Set<MultiKey<EventBean>> oldEvents, ExprEvaluatorContext exprEvaluatorContext)
newEvents
- - new eventsoldEvents
- - old eventsexprEvaluatorContext
- expression evaluation contextpublic java.util.Iterator<EventBean> iterator()
EventCollection
public void terminated()