Improved API for locking Cache entries
It is currently possibly to lock a cache entry using a construct similar to ...
Intuitively, it would make more sense if the lock was created from the cache itself. It would also allow stronger type of the value of the key (currently, any object can be passed in, which will cause run time errors if the wrong key is used in a clustered cache).
Old APIs are left in place, but deprecated for now.