[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1248) Expose existInMemory method in Cache interface

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Dec 20 07:48:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBCACHE-1248?page=comments#action_12393085 ] 
            
Manik Surtani commented on JBCACHE-1248:
----------------------------------------

peek() is in the CacheSPI interface.  You can use a combination of peek() and NodeSPI.isDataLoaded() to test if a node is in memory or needs loading from a cache loader.

> Expose existInMemory method in Cache interface
> ----------------------------------------------
>
>                 Key: JBCACHE-1248
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1248
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: gmeroz
>         Assigned To: Manik Surtani
>
> I'm using JDBCCacheLoader to persist a cache and sometimes i need to know if a node is in memory (i don't care if it is in the DB). 
> I use exist(Fqn) method in the CacheImpl - Please expose it in the interface (so i'll be able to trust backward compatability)

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

        



More information about the jboss-jira mailing list