You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Oswaldo Hernandez (Created) (JIRA)" <de...@velocity.apache.org> on 2011/11/29 01:21:40 UTC

[jira] [Created] (VELOCITY-813) Ability to clear the resource cache

Ability to clear the resource cache
-----------------------------------

                 Key: VELOCITY-813
                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 1.7, 2.x
            Reporter: Oswaldo Hernandez


Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
 
This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Commented] (VELOCITY-813) Ability to clear the resource cache

Posted by "Oswaldo Hernandez (Commented) (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159730#comment-13159730 ] 

Oswaldo Hernandez commented on VELOCITY-813:
--------------------------------------------

Hi guys,

We need this capability so that at runtime we can clear the cache when certain application level events are triggered. Can you please point to me what is the process to get this change in, if you need me to I am more than happy tocan provide a patch for this.

Thanks. 
                
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Commented] (VELOCITY-813) Ability to clear the resource cache

Posted by "Nathan Bubna (Commented) (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168739#comment-13168739 ] 

Nathan Bubna commented on VELOCITY-813:
---------------------------------------

Yes, a patch would be helpful in getting this dealt with before the next release (whenever that turns out to be).
                
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Updated] (VELOCITY-813) Ability to clear the resource cache

Posted by "Oswaldo Hernandez (Updated) (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oswaldo Hernandez updated VELOCITY-813:
---------------------------------------

    Attachment: VELOCITY-813.diff

Hi Nathan, 

I am attaching the patch for this issue, please let me know if it's all good or if you need me to do anything else to apply it.

Thanks.
                
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>             Fix For: 2.x
>
>         Attachments: VELOCITY-813.diff
>
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Resolved] (VELOCITY-813) Ability to clear the resource cache

Posted by "Nathan Bubna (Resolved) (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-813.
-----------------------------------

    Resolution: Fixed

Thanks.  Next time, it would help if you can reduce the number of formatting changes in the patch, as those are noise.  But this was great, and 2.0 is the right time to do it.  Thanks for stepping up!
                
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>             Fix For: 2.x
>
>         Attachments: VELOCITY-813.diff
>
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Commented] (VELOCITY-813) Ability to clear the resource cache

Posted by "Oswaldo Hernandez (Commented) (JIRA)" <de...@velocity.apache.org>.
    [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173723#comment-13173723 ] 

Oswaldo Hernandez commented on VELOCITY-813:
--------------------------------------------

Thanks for that Nathan, will be more careful with formatting next time. Looking forward to seeing this change in 2.0 :)
                
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>             Fix For: 2.x
>
>         Attachments: VELOCITY-813.diff
>
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] [Updated] (VELOCITY-813) Ability to clear the resource cache

Posted by "Nathan Bubna (Updated) (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna updated VELOCITY-813:
----------------------------------

    Fix Version/s: 2.x
    
> Ability to clear the resource cache
> -----------------------------------
>
>                 Key: VELOCITY-813
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-813
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.7, 2.x
>            Reporter: Oswaldo Hernandez
>             Fix For: 2.x
>
>
> Can you please add a clear() method on the ResourceCache so that we can clear the cache at runtime. 
>  
> This is a really simple change that would only entail calling the underlying Map's .clear() method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org