public void addInterestedClients(InternalDistributedMember member, Set<Long> clients,
      Set<Long> clientsInv,
      boolean longIDs) {
    memberWithFilterInfoExists = true;
    FilterInfo fInfo = serverFilterInfo.get(member);
    if (fInfo == null) {
      fInfo = new FilterInfo();
      serverFilterInfo.put(member, fInfo);
    }
    if (clients != null && clients.size() > 0) {
      fInfo.setInterestedClients(clients);
    }
    if (clientsInv != null && clientsInv.size() > 0) {
      fInfo.setInterestedClientsInv(clientsInv);
    }
    if (longIDs) {
      fInfo.longIDs = true;
    }
  }
Sets interested clients routing information

@param member on which the client interests are satisfied
@param clients Set containing interested clients with receiveValues=true
@param clientsInv Set containing interested clients with receiveValues=false
@param longIDs whether the client IDs may be long integers
geode-core/src/main/java/org/apache/geode/internal/cache/FilterRoutingInfo.java