On 10 Jun 2011, at 14:33, Manik Surtani wrote:
>
> 2) with async stores, the issue is back. The value is not going to be
> found while it's "in flight" in the async storage queue; so unless you
> want to avoid supporting it for now, the actual removal from the
> container should be performed from the async cache loader code.
Ugh - yes, I agree. But I hate the way the mixing of concerns is starting to look. :-(
Actually the correct answer to this is for AsyncStore.load() to first check the async
queue before going to the actual store. Should be a separate JIRA since this affects
general functioning of the AsyncStore.
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org