You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by tomask79 <to...@embedit.cz> on 2013/12/13 12:00:45 UTC

Why org.apache.wicket.pageStore.memory.PageTable isn't public?

Hi guys,

I was thinking about the implementation of own DataStoreEvictionStrategy for
the page eviction and plug it then into HttpSessionDataStore....But I was
surprised that org.apache.wicket.pageStore.memory.PageTable isn't public, so
I couldn't use it outside of wicket classes in my overriden evict method.

Yes, I can override HttpSessionDataStore.storeData method use there whatever
I want to evict pages after saving the input page, but this isn't pretty
solution....I would prefer to have opportunity to write own
DataStoreEvictionStrategy and just put it as parameter into IDataStore....

Why isn't org.apache.wicket.pageStore.memory.PageTable public?

Wicket version: 1.5.8

regards

Tomas







--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-org-apache-wicket-pageStore-memory-PageTable-isn-t-public-tp4662987.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why org.apache.wicket.pageStore.memory.PageTable isn't public?

Posted by Martin Grigorov <mg...@apache.org>.
Improved with https://issues.apache.org/jira/browse/WICKET-5444
Thanks !

Martin Grigorov
Wicket Training & Consulting


On Fri, Dec 13, 2013 at 8:31 PM, tomask79 <to...@embedit.cz> wrote:

> Hi Martin,
>
> ok I will, thanks for answer and apology for kind of angry post..:)
>
> Best wishes
>
> Tomas
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Why-org-apache-wicket-pageStore-memory-PageTable-isn-t-public-tp4662987p4663013.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Why org.apache.wicket.pageStore.memory.PageTable isn't public?

Posted by tomask79 <to...@embedit.cz>.
Hi Martin,

ok I will, thanks for answer and apology for kind of angry post..:)

Best wishes

Tomas





--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-org-apache-wicket-pageStore-memory-PageTable-isn-t-public-tp4662987p4663013.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Why org.apache.wicket.pageStore.memory.PageTable isn't public?

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Please file a ticket.


On Fri, Dec 13, 2013 at 2:24 PM, tomask79 <to...@embedit.cz> wrote:

> When I look at the implementation of IDataStore interface, namely
> HttpSessionDataStore I'm confused......At one side, you allow to put into
> HttpSessionDataStore constructor any implementation of
> DataStoreEvictionStrategy, but DataStoreEvictionStrategy cannot be
> implemented outside of wicket classes, because PageTable isn't
> public...This
> doesn't make any sense to me...
>
> I really want to implement own page eviction strategy, but thanks to this
> non-sense, I'm pushed to be creating not very nice solutions...
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Why-org-apache-wicket-pageStore-memory-PageTable-isn-t-public-tp4662987p4662991.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Why org.apache.wicket.pageStore.memory.PageTable isn't public?

Posted by tomask79 <to...@embedit.cz>.
When I look at the implementation of IDataStore interface, namely
HttpSessionDataStore I'm confused......At one side, you allow to put into
HttpSessionDataStore constructor any implementation of
DataStoreEvictionStrategy, but DataStoreEvictionStrategy cannot be
implemented outside of wicket classes, because PageTable isn't public...This
doesn't make any sense to me...

I really want to implement own page eviction strategy, but thanks to this
non-sense, I'm pushed to be creating not very nice solutions...









--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-org-apache-wicket-pageStore-memory-PageTable-isn-t-public-tp4662987p4662991.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org