private RegionInterestEntry getRegionInterests(LocalRegion r, InterestType interestType,
      boolean forRemoval, boolean isDurable, boolean receiveUpdatesAsInvalidates) {
    final String regionName = r.getFullPath();
    ConcurrentMap<String, RegionInterestEntry> mapOfInterest =
        getRegionToInterestsMap(interestType, isDurable, receiveUpdatesAsInvalidates);
    RegionInterestEntry result = mapOfInterest.get(regionName);
    if (result == null && !forRemoval) {
      RegionInterestEntry rie = new RegionInterestEntry(r);
      result = mapOfInterest.putIfAbsent(regionName, rie);
      if (result == null) {
        result = rie;
      }
    }
    return result;
  }
Return the RegionInterestEntry for the given region. Create one if none exists and forRemoval
is false.

@param r specified region
@param interestType desired interest type
@param forRemoval true if calls wants one for removal
@return the entry or null if none exists and forRemoval is true.
geode-core/src/main/java/org/apache/geode/cache/client/internal/RegisterInterestTracker.java