public void processCloseCq(String serverCqName) {
    ServerCQ cq = cqs.get(serverCqName);
    if (cq != null) {
      try {
        cq.close(false);
      } catch (Exception ex) {
        if (logger.isDebugEnabled()) {
          logger.debug(
              "Unable to close the CQ with the filterProfile, on region {} for CQ {}, Error : {}",
              region.getFullPath(), serverCqName, ex.getMessage(), ex);
        }
      }
      cqs.remove(serverCqName);
      cq.getCqBaseRegion().getFilterProfile().decCqCount();
    }
  }
adds a new CQ to this profile during a delta operation or deserialization

@param serverCqName the query objects' name
@param ServerCQ the new query object
@param addToCqMap whether to add the query to this.cqs
geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java