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 2011/07/06 13:53:17 UTC
[jira] [Commented] (WICKET-3865) Create a debug page with which the
developer can browse the disk data store
[ https://issues.apache.org/jira/browse/WICKET-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060502#comment-13060502 ]
Martin Grigorov commented on WICKET-3865:
-----------------------------------------
I added the debugging DiskDataStore and a page that uses it to extract the last 1000 page entries in the disk store.
Usage:
- add wicket-devutils in the classpath
- go to http://host:port/wicket/internal/debug/diskDataStore or http://host:port/wicket/bookmarkable/org.apache.wicket.devutils.diskstore.DiskStoreBrowserPage
TODO:
- add some styling to the page (CSS)
- add the possibility to show such kind of information for different sessions than the current one
- think about Ajax updates (timer polling)
> Create a debug page with which the developer can browse the disk data store
> ----------------------------------------------------------------------------
>
> Key: WICKET-3865
> URL: https://issues.apache.org/jira/browse/WICKET-3865
> Project: Wicket
> Issue Type: New Feature
> Components: wicket-devutils
> Affects Versions: 1.5-RC5.1
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
>
> it would be helpful if there is a page with which the developer can see what is the current content of the file where the pages for specific session are stored.
> This way she can follow what has been stored, how many bytes were written so far, speculate when a page is going to be dropped/expired, etc.
> The page will be in wicket-devutils package and will either auto-mount itself at some predefined path (e.g. /wicket/internal/debug/diskDataStore) or will be reachable via BookmarkableMapper (i.e. /wicket/bookmarkable/org.apache.wicket.devutils.diskpagestore.DebugPage).
> Additionally to be able to extract the needed information a custom DiskDataStore will be plugged when devutils are enabled. This custom data store extends the default (DiskDataStore) to expose some hidden knowledge and to provide more debug information.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira