[
https://issues.apache.org/jira/browse/WICKET-5969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomas Kloucek updated WICKET-5969:
----------------------------------
Description:
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...
was:
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...
> 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
>
> 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)