org.apache.wicket.devutils.diskstore
Class DebugDiskDataStore
java.lang.Object
org.apache.wicket.pageStore.DiskDataStore
org.apache.wicket.devutils.diskstore.DebugDiskDataStore
- All Implemented Interfaces:
- IDataStore
public class DebugDiskDataStore
- extends DiskDataStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugDiskDataStore
public DebugDiskDataStore(String applicationName,
File fileStoreFolder,
Bytes maxSizePerSession)
- Construct.
- Parameters:
applicationName
- fileStoreFolder
- maxSizePerSession
-
getLastPageWindows
public List<PageWindowManager.PageWindow> getLastPageWindows(String sessionId,
int count)
- Parameters:
sessionId
- count
-
- Returns:
- a list of the last N page windows
getStoreFolder
public File getStoreFolder()
- Description copied from class:
DiskDataStore
- This folder contains sub-folders named as the session id for which they hold the data.
- Overrides:
getStoreFolder
in class DiskDataStore
- Returns:
- the folder where the pages are stored
register
public static void register(Application application)
- Parameters:
application
-
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.