You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan Fussenegger (JIRA)" <ji...@apache.org> on 2010/10/04 19:54:33 UTC

[jira] Created: (WICKET-3090) Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable

Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable
--------------------------------------------------------------------------

                 Key: WICKET-3090
                 URL: https://issues.apache.org/jira/browse/WICKET-3090
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.4.12
            Reporter: Stefan Fussenegger
            Priority: Trivial
         Attachments: SecondLevelCacheSessionStore.java.patch

my idea of a SecondLevelCacheSessionStore extension that expires the last page after several minutes - see WICKET-2889 - require some minor changes to SecondLevelCacheSessionStore.SecondLevelCachePageMap (see patch). These changes are:

- make SecondLevelCachePageMap protected instead of private final
- add hook onAfterLastPageSet(Page)
- call aforementioned hook from setLastPage(Page)
- make SecondLevelCachePageMap(String, Application, String) protected instead of private
- add protected method unsetLastPage() to call (private) setLastPage(Page) with null argument

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3090) Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable

Posted by "Stefan Fussenegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Fussenegger updated WICKET-3090:
---------------------------------------

    Attachment: SecondLevelCacheSessionStore.java.patch

> Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3090
>                 URL: https://issues.apache.org/jira/browse/WICKET-3090
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.12
>            Reporter: Stefan Fussenegger
>            Priority: Trivial
>         Attachments: SecondLevelCacheSessionStore.java.patch
>
>
> my idea of a SecondLevelCacheSessionStore extension that expires the last page after several minutes - see WICKET-2889 - require some minor changes to SecondLevelCacheSessionStore.SecondLevelCachePageMap (see patch). These changes are:
> - make SecondLevelCachePageMap protected instead of private final
> - add hook onAfterLastPageSet(Page)
> - call aforementioned hook from setLastPage(Page)
> - make SecondLevelCachePageMap(String, Application, String) protected instead of private
> - add protected method unsetLastPage() to call (private) setLastPage(Page) with null argument

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3090) Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920816#action_12920816 ] 

Hudson commented on WICKET-3090:
--------------------------------

Integrated in Apache Wicket 1.4.x #200 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/200/])
    

> Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3090
>                 URL: https://issues.apache.org/jira/browse/WICKET-3090
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.12
>            Reporter: Stefan Fussenegger
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>             Fix For: 1.4.13
>
>         Attachments: SecondLevelCacheSessionStore.java.patch
>
>
> my idea of a SecondLevelCacheSessionStore extension that expires the last page after several minutes - see WICKET-2889 - require some minor changes to SecondLevelCacheSessionStore.SecondLevelCachePageMap (see patch). These changes are:
> - make SecondLevelCachePageMap protected instead of private final
> - add hook onAfterLastPageSet(Page)
> - call aforementioned hook from setLastPage(Page)
> - make SecondLevelCachePageMap(String, Application, String) protected instead of private
> - add protected method unsetLastPage() to call (private) setLastPage(Page) with null argument

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3090) Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3090.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.13
         Assignee: Igor Vaynberg

i tweaked the map so it is more usable, should be good for your usecase.

> Make SecondLevelCacheSessionStore and its SecondLevelCachePageMap reusable
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3090
>                 URL: https://issues.apache.org/jira/browse/WICKET-3090
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.12
>            Reporter: Stefan Fussenegger
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>             Fix For: 1.4.13
>
>         Attachments: SecondLevelCacheSessionStore.java.patch
>
>
> my idea of a SecondLevelCacheSessionStore extension that expires the last page after several minutes - see WICKET-2889 - require some minor changes to SecondLevelCacheSessionStore.SecondLevelCachePageMap (see patch). These changes are:
> - make SecondLevelCachePageMap protected instead of private final
> - add hook onAfterLastPageSet(Page)
> - call aforementioned hook from setLastPage(Page)
> - make SecondLevelCachePageMap(String, Application, String) protected instead of private
> - add protected method unsetLastPage() to call (private) setLastPage(Page) with null argument

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.