Improved API for locking Cache entries

Description

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).

Environment

None

Activity

Show:

Greg Thomas March 13, 2019 at 5:19 PM
Edited

Implemented as

Old APIs are left in place, but deprecated for now.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 13, 2019 at 5:17 PM
Updated March 13, 2019 at 5:20 PM
Resolved March 13, 2019 at 5:19 PM