@Override
    public void onEvent(final CqEvent aCqEvent) {
      Operation op = aCqEvent.getBaseOperation();
      if (op.isCreate()) {
        ++numCreates;
      } else if (op.isUpdate()) {
        ++numUpdates;
      } else if (op.isDestroy()) {
        ++numDestroys;
      } else {
        ++numOtherOps;
      }
      eventList.add(aCqEvent);
    }
Implements the {@link CqListener} interface and counts the number of different operations and
also queues up the received updates to precise checking of each update.

@since GemFire 5.5
geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java