|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.pageStore.DiskDataStore.SessionEntry
protected static class DiskDataStore.SessionEntry
Constructor Summary | |
---|---|
protected |
DiskDataStore.SessionEntry(DiskDataStore diskDataStore,
String sessionId)
|
Method Summary | |
---|---|
PageWindowManager |
getManager()
|
String |
getSessionId()
|
byte[] |
loadPage(int id)
Loads the specified page data. |
byte[] |
loadPage(PageWindowManager.PageWindow window)
Loads the part of pagemap file specified by the given PageWindow. |
void |
removePage(int pageId)
Removes the page from pagemap file. |
void |
savePage(int pageId,
byte[] data)
Saves the serialized page to appropriate file. |
void |
unbind()
Deletes all files for this session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DiskDataStore.SessionEntry(DiskDataStore diskDataStore, String sessionId)
Method Detail |
---|
public PageWindowManager getManager()
public String getSessionId()
public void savePage(int pageId, byte[] data)
pageId
- data
- public void removePage(int pageId)
pageId
- public byte[] loadPage(PageWindowManager.PageWindow window)
window
-
public byte[] loadPage(int id)
id
-
public void unbind()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |