public void updateStats(MessageType cqEvent) {
    if (cqEvent == null) {
      return;
    }
    incNumEvents();
    switch (cqEvent) {
      case LOCAL_CREATE:
        incNumInserts();
        return;
      case LOCAL_UPDATE:
        incNumUpdates();
        return;
      case LOCAL_DESTROY:
        incNumDeletes();
        return;
      default:
    }
  }
Update stats for a CQ for VSD

@param cqEvent object the type of CQ event
geode-core/src/main/java/org/apache/geode/cache/query/internal/CqQueryVsdStats.java