graphContext.submit(next);
}
public void matchFound(EventBean theEvent, Collection<FilterHandleCallback> allStmtMatches) {
if (collector != null) {
EPDataFlowEventBeanCollectorContext holder = collectorDataTL.get();
if (holder == null) {
holder = new EPDataFlowEventBeanCollectorContext(graphContext, submitEventBean, theEvent);
collectorDataTL.set(holder);
}
else {
holder.setEvent(theEvent);
}
collector.collect(holder);
}
else if (submitEventBean) {
emittables.add(theEvent);