@Override
  public boolean processEvents(List<AsyncEvent> events) {
    for (AsyncEvent event : events) {
      eventsMap.put(event.getKey(), event.getDeserializedValue());
    }
    return true;
  }
Processes events by recording their latencies.
geode-junit/src/main/java/org/apache/geode/internal/cache/wan/MyGatewaySenderEventListener2.java