protected void registerClientInterestList(String regionName,List keysOfInterest,boolean sendUpdatesAsInvalidates){
  FilterProfile p=getProfile(regionName);
  if (p == null) {
    throw new RegionDestroyedException("Region not found during client interest registration",regionName);
  }
  Set keysRegistered=null;
synchronized (this.interestListLock) {
    keysRegistered=p.registerClientInterestList(id,keysOfInterest,sendUpdatesAsInvalidates);
    regions.add(regionName);
  }
  if (containsInterestRegistrationListeners() && !keysRegistered.isEmpty()) {
    handleInterestEvent(regionName,keysRegistered,InterestType.KEY,true);
  }
}

protected void registerClientInterestList ( String regionName , List keysOfInterest , boolean sendUpdatesAsInvalidates ) { FilterProfile p = getProfile ( regionName ) ; if ( p == null ) { throw new RegionDestroyedException ( "Region not found during client interest registration" , regionName ) ; } Set keysRegistered = null ; synchronized ( this . interestListLock ) { keysRegistered = p . registerClientInterestList ( id , keysOfInterest , sendUpdatesAsInvalidates ) ; regions . add ( regionName ) ; } if ( containsInterestRegistrationListeners ( ) && ! keysRegistered . isEmpty ( ) ) { handleInterestEvent ( regionName , keysRegistered , InterestType . KEY , true ) ; } }
registers interest in the input region name and list of keys
