why pass in cacheLoader and cacheWriter? They are available from this region 
(see basicGetLoader and basicGetWriter).
I would make this a private method since it is specific to the partitioned 
region implementation.
I think you can just change the PartitionedRegion impl of 
cacheLoaderChanged/cacheWriterChanged to call updatePRNodeInformation().
I think you can call it in the "if" on those methods that calls 
UpdateAttributesProcessor(this).distribute(). Since all you care about is if it 
was null and no longer is (or vice versa) the XOR test these methods have I 
think is just what you need. 

[ Full content available at: https://github.com/apache/geode/pull/3308 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to