public void closeCq(ServerCQ cq) {
    ensureCqID(cq);
    String serverCqName = cq.getServerCqName();
    cqs.remove(serverCqName);
    if (cqMap != null) {
      cqMap.removeIDMapping(cq.getFilterID());
    }
    decCqCount();
    sendCQProfileOperation(operationType.CLOSE_CQ, cq);
  }
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