org.apache.wicket.devutils.diskstore
Class DebugDiskDataStore

java.lang.Object
  extended by org.apache.wicket.pageStore.DiskDataStore
      extended by org.apache.wicket.devutils.diskstore.DebugDiskDataStore
All Implemented Interfaces:
IDataStore

public class DebugDiskDataStore
extends DiskDataStore


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.pageStore.DiskDataStore
DiskDataStore.SessionEntry
 
Constructor Summary
DebugDiskDataStore(java.lang.String applicationName, java.io.File fileStoreFolder, Bytes maxSizePerSession)
          Construct.
 
Method Summary
 java.util.List<PageWindowManager.PageWindow> getLastPageWindows(java.lang.String sessionId, int count)
           
 java.io.File getStoreFolder()
          This folder contains sub-folders named as the session id for which they hold the data.
static void register(Application application)
           
 
Methods inherited from class org.apache.wicket.pageStore.DiskDataStore
destroy, getData, getSessionEntry, getSessionFolder, isReplicated, removeData, removeData, storeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugDiskDataStore

public DebugDiskDataStore(java.lang.String applicationName,
                          java.io.File fileStoreFolder,
                          Bytes maxSizePerSession)
Construct.

Parameters:
applicationName -
fileStoreFolder -
maxSizePerSession -
Method Detail

getLastPageWindows

public java.util.List<PageWindowManager.PageWindow> getLastPageWindows(java.lang.String sessionId,
                                                                       int count)
Parameters:
sessionId -
count -
Returns:
a list of the last N page windows

getStoreFolder

public java.io.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.