[infinispan-issues] [JBoss JIRA] Updated: (ISPN-337) Cache Store implementations are inefficient with containsKey() calls

Manik Surtani (JIRA) jira-events at lists.jboss.org
Tue Feb 2 12:51:21 EST 2010


     [ https://jira.jboss.org/jira/browse/ISPN-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated ISPN-337:
-------------------------------

    Fix Version/s: 4.0.0.CR4
                       (was: 4.0.0.GA)


> Cache Store implementations are inefficient with containsKey() calls
> --------------------------------------------------------------------
>
>                 Key: ISPN-337
>                 URL: https://jira.jboss.org/jira/browse/ISPN-337
>             Project: Infinispan
>          Issue Type: Task
>          Components: Loaders and Stores
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>             Fix For: 4.0.0.CR4
>
>
> Currently uses the default impl in AbsractCacheStore, which is to call loadEntry().  This is inefficient since usage of this API is to check the existence of the key, and then load the key.  This approach to implementing containsKey() leads to an entry being loaded twice which can be costly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list