ConcurrentMap<String, RegionInterestEntry> getRegionToInterestsMap(InterestType interestType,
      boolean isDurable,
      boolean receiveUpdatesAsInvalidates) {
    FailoverInterestList fil =
        failoverInterestLists[getInterestLookupIndex(isDurable, receiveUpdatesAsInvalidates)];

    switch (interestType) {
      case KEY:
        return fil.keysOfInterest;
      case REGULAR_EXPRESSION:
        return fil.regexOfInterest;
      case FILTER_CLASS:
        return fil.filtersOfInterest;
      case CQ:
        return fil.cqsOfInterest;
      case OQL_QUERY:
        return fil.queriesOfInterest;
      default:
        throw new InternalGemFireError("Unknown interestType");
    }
  }
Return keys of interest for a given region. The keys in this Map are the full names of the
regions. The values are instances of RegionInterestEntry.

@param interestType the type to return
@return the map
geode-core/src/main/java/org/apache/geode/cache/client/internal/RegisterInterestTracker.java