[jbosscache-dev] Cache.getMembers

Vladimir Blagojevic vladimir.blagojevic at redhat.com
Tue Apr 24 11:39:21 EDT 2007


Hey guys,

I was rereading JCIP last night and it seems that we should implement 
CacheImpl.getMembers() by making a shallow unmodifiable copy of the 
members field list under the same synchronization lock that we use to do 
compound members operations. What we are doing now seems unsafe. If I am 
missing the point I would like to be shown why :)

Vladimir



More information about the jbosscache-dev mailing list