@Override
  public boolean processEvents(List<AsyncEvent> events) {
    try {
      return process(events);
    } catch (RuntimeException e) {
      exceptionObserver.onException(e);
      throw e;
    } catch (Error e) {
      exceptionObserver.onException(e);
      throw e;
    }
  }
An Async event queue listener that writes all of the events in batches to Lucene
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneEventListener.java