_eventsRead += numEvents;
}
} while (!_stop);
} catch (InvalidEventException e) {
for (Iterator<EventBufferConsumer> it = _consumers.iterator(); it.hasNext(); ) {
EventBufferConsumer cons = it.next();
cons.onInvalidEvent(eventsRead());
}
LOG.error("Invalid event! " + e);
return;
}
finally {