. Yes you are right i just trying different ways to implement the assignment.
For instance, how about keeping the locked records in a Map<Long, Long> (where the key is the record
number and the value is a number that identifies the client who locked the record)?
What do you mean by "not working"?
andrew gutnik wrote:Yes you are right i just trying different ways to implement the assignment.
andrew gutnik wrote:by the way do you have difficulties to understand my english , i need to understand if i can express myself more or less correctly?
What happened with the KISS principle? To be honest I have been around this forum since 2009 and it's the very first time that I see someone using WeakReference and ReferenceQueue. I don't really know if that's a good thing. If I use the search function on this forum I notice there are a few threads mentioning these classes.