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:34 UTC

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

     [ 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.