{
Object value = evaluator.evaluate(eventsPerStream, isNewData, exprEvaluatorContext);
if (value == null)
{
log.warn("Null value returned for frequency parameter");
return new FrequencyParameter(Integer.MAX_VALUE);
}
else
{
int intValue = ((Number) value).intValue();
return new FrequencyParameter(intValue);
}
}