[infinispan-issues] [JBoss JIRA] Updated: (ISPN-717) Implement a SKIP_CACHE_LOAD flag to prevent loading an entry

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Oct 20 04:56:54 EDT 2010


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

Manik Surtani updated ISPN-717:
-------------------------------

        Summary: Implement a SKIP_CACHE_LOAD flag to prevent loading an entry  (was: Trying to modify an entry that is not loaded into memory triggers an unnecessary CacheStore.load() operation.)
     Issue Type: Feature Request  (was: Bug)
    Description: 
This will allow for the suppression of loading an entry from a cache loader if the return value from a call such as Cache.put() it is deemed unnecessary by the caller and would not be used.  Analogous to the SKIP_REMOTE_LOOKUP flag for remote retrieval of entries for the sake of return values.  

http://docs.jboss.org/infinispan/4.2/apidocs/org/infinispan/context/Flag.html#SKIP_REMOTE_LOOKUP

  was:There is no reason to load an entry from CacheStore to memory before modifying it.  The current implementation triggers CacheStore.load() unnecessarily when a user calls Cache.put().

     Complexity: Low
    Component/s: Loaders and Stores


> Implement a SKIP_CACHE_LOAD flag to prevent loading an entry
> ------------------------------------------------------------
>
>                 Key: ISPN-717
>                 URL: https://jira.jboss.org/browse/ISPN-717
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Core API, Loaders and Stores
>    Affects Versions: 4.2.0.ALPHA1, 4.2.0.ALPHA2, 4.2.0.ALPHA3
>            Reporter: Trustin Lee
>            Assignee: Manik Surtani
>             Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>
> This will allow for the suppression of loading an entry from a cache loader if the return value from a call such as Cache.put() it is deemed unnecessary by the caller and would not be used.  Analogous to the SKIP_REMOTE_LOOKUP flag for remote retrieval of entries for the sake of return values.  
> http://docs.jboss.org/infinispan/4.2/apidocs/org/infinispan/context/Flag.html#SKIP_REMOTE_LOOKUP

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

        


More information about the infinispan-issues mailing list