protected static class DiskDataStore.SessionEntry extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
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 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–2022 Apache Software Foundation. All rights reserved.