question: protected boolean requiresNotificationFromPR ( PartitionedRegion r ) { synchronized ( GemFireCacheImpl . class ) { boolean hasSerialSenders = hasSerialSenders ( r ) ; boolean result = hasSerialSenders ; if ( ! result ) { Iterator allCacheServersIterator = allCacheServers . iterator ( ) ; while ( allCacheServersIterator . hasNext ( ) ) { CacheServerImpl server = ( CacheServerImpl ) allCacheServersIterator . next ( ) ; if ( ! server . getNotifyBySubscription ( ) ) { result = true ; break ; } } } return result ; } }
target:  check to see if any cache components require notification from a partitioned region. Notification adds to the messaging a PR must do on each put/destroy/invalidate operation and should be kept to a minimum