public interface IDataStore
IPageStore| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeAsynchronous() |
void |
destroy()
Properly close the data store and possibly open resource handles
|
byte[] |
getData(String sessionId,
int id)
Get data associated with the session id and page id.
|
boolean |
isReplicated() |
void |
removeData(String sessionId)
Remove all page data for the session id
|
void |
removeData(String sessionId,
int id)
Remove all persisted data related to the session id and page id
|
void |
storeData(String sessionId,
int id,
byte[] data)
Store the page data
|
byte[] getData(String sessionId, int id)
sessionId - Session IDid - Page IDvoid removeData(String sessionId, int id)
sessionId - Session IDid - Page IDvoid removeData(String sessionId)
sessionId - Session IDvoid storeData(String sessionId, int id, byte[] data)
sessionId - Session IDid - Page IDdata - Page datavoid destroy()
boolean isReplicated()
boolean canBeAsynchronous()
AsynchronousDataStoreCopyright © 2006–2021 Apache Software Foundation. All rights reserved.