this.submitEventBean = submitEventBean;
}
public void update(EventBean[] newEvents, EventBean[] oldEvents, EPStatement statement, EPServiceProvider epServiceProvider) {
EPDataFlowIRStreamCollectorContext holder = collectorDataTL.get();
if (holder == null) {
holder = new EPDataFlowIRStreamCollectorContext(emitterForCollector, submitEventBean, newEvents, oldEvents, statement, epServiceProvider);
collectorDataTL.set(holder);
}
else {
holder.setEpServiceProvider(epServiceProvider);
holder.setStatement(statement);
holder.setOldEvents(oldEvents);
holder.setNewEvents(newEvents);
}
collector.collect(holder);
}