You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/11/19 00:02:11 UTC

[jira] [Resolved] (WICKET-5969) Please give us access to PageTable.index pageId queue

     [ https://issues.apache.org/jira/browse/WICKET-5969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5969.
-------------------------------------
       Resolution: Fixed
         Assignee: Martin Grigorov
    Fix Version/s: 6.22.0
                   8.0.0-M1
                   7.2.0

> Please give us access to PageTable.index pageId queue
> -----------------------------------------------------
>
>                 Key: WICKET-5969
>                 URL: https://issues.apache.org/jira/browse/WICKET-5969
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.20.0, 7.0.0
>         Environment: all browsers, all OS.
>            Reporter: Tomas Kloucek
>            Assignee: Martin Grigorov
>             Fix For: 7.2.0, 8.0.0-M1, 6.22.0
>
>
> Method PageTable.getOldest is pretty much useless and works only in primitive eviction strategies like PageNumberEviction strategy where one eviction call always ends with page remove...
> Now imagine you've got application with multi tab browser support where page in one tab will become oldest and user is browsing in another tab...In this situation PageTable.getOldest always returns oldest page from tab where user is not working....And you don't have access to the rest of pages!
> So please:
> Give us access to PageTable.index variable! Provide iterator, whatever.
> Now, as a pagestore developer, to have access to all pages during evict, I need to duplicate data in PageTable.index...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)