incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael André Pearce <michael.andre.pea...@me.com>
Subject Re: [jira] [Commented] (DIRECTMEMORY-60) EHCache Integration
Date Sun, 26 Feb 2012 21:40:12 GMT
So Cache api's such as ehcache and the jsr107 and quite a few more are wrong? 



On 26 Feb 2012, at 21:33, Simone Tripodi wrote:

> pointless?!? we've been writing about it for more than a hour: it
> induces users on implementing race conditions!
> 
> {code}
> if ( cacheService.containsKey( "key" ) )
> {
>   // in the meanwhile someone else drops "key"...
> 
>   Object retrieved = cacheService.retrieve( "key" ); // got null,
> expected a value
> }
> {code}
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message