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

Reply via email to