You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Tomas Kloucek (JIRA)" <ji...@apache.org> on 2015/08/14 09:58:45 UTC

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

Tomas Kloucek created WICKET-5969:
-------------------------------------

             Summary: 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: 7.0.0, 6.20.0
         Environment: all browsers, all OS.
            Reporter: Tomas Kloucek


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)