You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jose E. Gonzalez (JIRA)" <ib...@incubator.apache.org> on 2005/03/21 16:18:28 UTC

[jira] Created: (IBATIS-91) Extend flush interval to flush individual cash entries.

Extend flush interval to flush individual cash entries.
-------------------------------------------------------

         Key: IBATIS-91
         URL: http://issues.apache.org/jira/browse/IBATIS-91
     Project: iBatis for Java
        Type: New Feature
  Components: SQL Maps  
    Reporter: Jose E. Gonzalez


Flush interval is used to flush a cash model (group) as a hole. It’d be nice to have the option to use it to flush individual cash entries, so that the cache model checks if the entry has expired before returning it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATIS-91) Extend flush interval to flush individual cash entries.

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATIS-91?page=comments#action_12313359 ] 

Brandon Goodin commented on IBATIS-91:
--------------------------------------

Does OSCache provide this functionality. If it does do we really want to provide this functionality?

> Extend flush interval to flush individual cash entries.
> -------------------------------------------------------
>
>          Key: IBATIS-91
>          URL: http://issues.apache.org/jira/browse/IBATIS-91
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Reporter: Jose E. Gonzalez

>
> Flush interval is used to flush a cash model (group) as a hole. It’d be nice to have the option to use it to flush individual cash entries, so that the cache model checks if the entry has expired before returning it.

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


[jira] Closed: (IBATIS-91) Extend flush interval to flush individual cash entries.

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-91?page=all ]
     
Clinton Begin closed IBATIS-91:
-------------------------------

    Resolution: Won't Fix

object identity is out of scope for ibatis

> Extend flush interval to flush individual cash entries.
> -------------------------------------------------------
>
>          Key: IBATIS-91
>          URL: http://issues.apache.org/jira/browse/IBATIS-91
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Reporter: Jose E. Gonzalez

>
> Flush interval is used to flush a cash model (group) as a hole. It’d be nice to have the option to use it to flush individual cash entries, so that the cache model checks if the entry has expired before returning it.

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


[jira] Commented: (IBATIS-91) Extend flush interval to flush individual cash entries.

Posted by "Brandon Goodin (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATIS-91?page=comments#action_12313014 ] 

Brandon Goodin commented on IBATIS-91:
--------------------------------------

This is not a bad idea. I believe it would require a new cacheModel implementation. The flushOnExecute would still flush the whole results however. I implemented a cache on my own that accomplished this. Basically every cache entry was wrapped with an object that contained metadata about when the cache was created. A thread would constantly monitor the cache and remove anything that had expired after a certain amount of time.

> Extend flush interval to flush individual cash entries.
> -------------------------------------------------------
>
>          Key: IBATIS-91
>          URL: http://issues.apache.org/jira/browse/IBATIS-91
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Reporter: Jose E. Gonzalez

>
> Flush interval is used to flush a cash model (group) as a hole. It’d be nice to have the option to use it to flush individual cash entries, so that the cache model checks if the entry has expired before returning it.

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