}
public Object evaluate(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) {
int agentInstanceId = exprEvaluatorContext.getAgentInstanceIds()[0];
ExprPreviousEvalStrategy strategy = strategies.getArray()[agentInstanceId];
return strategy.evaluate(eventsPerStream, exprEvaluatorContext);
}
public Collection<EventBean> evaluateGetCollEvents(EventBean[] eventsPerStream, ExprEvaluatorContext context) {
int agentInstanceId = context.getAgentInstanceIds()[0];
ExprPreviousEvalStrategy strategy = strategies.getArray()[agentInstanceId];