@Override
  public void fromData(DataInput in,
      DeserializationContext context) throws IOException, ClassNotFoundException {
    InternalDistributedMember id = new InternalDistributedMember();
    InternalDataSerializer.invokeFromData(id, in);
    memberID = id;

    allKeyClients.addAll(InternalDataSerializer.readSetOfLongs(in));
    keysOfInterest.putAll(DataSerializer.readHashMap(in));
    patternsOfInterest.putAll(DataSerializer.readHashMap(in));
    filtersOfInterest.putAll(DataSerializer.readHashMap(in));

    allKeyClientsInv.addAll(InternalDataSerializer.readSetOfLongs(in));
    keysOfInterestInv.putAll(DataSerializer.readHashMap(in));
    patternsOfInterestInv.putAll(DataSerializer.readHashMap(in));
    filtersOfInterestInv.putAll(DataSerializer.readHashMap(in));

    // Read CQ Info.
    int numCQs = InternalDataSerializer.readArrayLength(in);
    if (numCQs > 0) {
      final InitializationLevel oldLevel = LocalRegion.setThreadInitLevelRequirement(ANY_INIT);
      try {
        for (int i = 0; i < numCQs; i++) {
          String serverCqName = DataSerializer.readString(in);
          ServerCQ cq = CqServiceProvider.readCq(in);
          processRegisterCq(serverCqName, cq, false);
          cqs.put(serverCqName, cq);
        }
      } finally {
        LocalRegion.setThreadInitLevelRequirement(oldLevel);
      }
    }

  }
get the clients interested in the given event that are attached to this server.

@param event the entry event being applied to the cache
@param akc allKeyClients collection
@param koi keysOfInterest collection
@param pats patternsOfInterest collection
@param foi filtersOfInterest collection
@return a set of the clients interested in the event
geode-core/src/main/java/org/apache/geode/internal/cache/FilterProfile.java