public Set<String> getInterestRegisteredRegions() {
    HashSet<String> regions = new HashSet<>();
    for (final ClientInterestList cil : cils) {
      if (!cil.regions.isEmpty()) {
        regions.addAll(cil.regions);
      }
    }
    return regions;
  }
Returns the GemFire cache

@return the GemFire cache
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java