Kevin,

To re-phrase your question, yes, I think there is a use case when a GET is 
on-going and while evict is blocked. And when GET succeeds, evict will succeed 
as well in removing the same node. Next time GET will return a null.

But keep in mind that with eviction policy, there is no quaranttee that a GET 
will always be successful anyway. You will always need to guard against null 
return value anyway. So I don't think this is a serious issue. What do you 
think?

Finally, if CacheLoader is used, this is not an issue.

-Ben



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863420#3863420

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863420


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to