private void handleInterestEvent(@NotNull String regionName, @NotNull Set<?> keysOfInterest,
      final @NotNull InterestType interestType,
      boolean isRegister) {
    // Notify the region about this register interest event if:
    // - the application has requested it
    // - this is a primary CacheClientProxy (otherwise multiple notifications
    // may occur)
    // - it is a key interest type (regex is currently not supported)
    InterestRegistrationEvent event = null;
    if (CacheClientProxy.NOTIFY_REGION_ON_INTEREST && cacheClientProxy.isPrimary()
        && interestType == InterestType.KEY) {
      event = new InterestRegistrationEventImpl(cacheClientProxy, regionName, keysOfInterest,
          interestType, isRegister);
      try {
        notifyRegionOfInterest(event);
      } catch (Exception e) {
        logger.warn("Region notification of interest failed", e);
      }
    }
    // Invoke interest registration listeners
    if (containsInterestRegistrationListeners()) {
      if (event == null) {
        event = new InterestRegistrationEventImpl(cacheClientProxy, regionName, keysOfInterest,
            interestType, isRegister);
      }
      notifyInterestRegistrationListeners(event);
    }
  }
Unregisters interest in the input region name and list of keys

@param regionName The fully-qualified name of the region in which to unregister interest
@param keysOfInterest The list of keys in which to unregister interest
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientInterestList.java