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

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Jan 18 13:26:47 EST 2010


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.GA


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