public void updateStats(CqEvent cqEvent) {
    if (cqEvent.getQueryOperation() == null) {
      return;
    }
    incNumEvents();
    if (cqEvent.getQueryOperation().isCreate()) {
      incNumInserts();
    }
    if (cqEvent.getQueryOperation().isUpdate()) {
      incNumUpdates();
    }
    if (cqEvent.getQueryOperation().isDestroy()) {
      incNumDeletes();
    }
  }
Update stats for a CQ for VSD

@param cqEvent object containing info on the newly qualified CQ event
geode-core/src/main/java/org/apache/geode/cache/query/internal/CqQueryVsdStats.java