Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

getAndWriteLockAllSyncForKeys API removed?

Developers
va
2012-04-19
2013-05-14
  • va
    va
    2012-04-19

    While upgrading from EhCache 2.4 to 2.5.2, I saw that the methods getAndWriteLockAllSyncForKeys and unlockWriteLockForAllKeys were removed from the CacheLockProvider interface. Was there anything wrong with these methods (e.g. wrong implementaion in StripedReadWriteLockSync)? What API replaces them? My application needs multiple key locking/unlocking. What is the recommended new way of doing this with EhCache?

    Thank.