protected static class DiskDataStore.SessionEntry extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
DiskDataStore.SessionEntry(DiskDataStore diskDataStore,
String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected DiskDataStore.SessionEntry(DiskDataStore diskDataStore, String sessionId)
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()
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.