|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageRepository
Method Summary | |
---|---|
SessionStorage |
create(SessionId sessionId,
boolean cleanStart)
Creates session storage from scratch or restores from its previous state. |
long |
getMaxStorageSize()
Returns the maximum size of the storage in messages. |
void |
setMaxStorageSize(long maxStorageSize)
Sets the maximum size of the storage in messages. |
Method Detail |
---|
SessionStorage create(SessionId sessionId, boolean cleanStart)
sessionId
- session idcleanStart
- clean previous session state if any
StorageException
- if session storage creation failedlong getMaxStorageSize()
void setMaxStorageSize(long maxStorageSize)
maxStorageSize
- maximum size of the message storage
IllegalArgumentException
- if (maxStorageSize < 0)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |