JSR107 specifies that you expose the method to user also.

A user should always be aware that checkKey is a snapshot in time and if you 
need to it is for the developer to lock or single thread, and this is 
understood by many developers who implement cahce's which expose this.


 
On 26 Feb 2012, at 20:50, Simone Tripodi wrote:

> ou still need a shortcut? JSR107 integration module can
> comfortably use that way to check keys.
> 
> The use for a key check is potentially dangerous, as it may expire
> between checking for the key, and whatever you want to do with the
> stored object, and produc

Reply via email to