public interface StorageRepository
| Modifier and Type | Method and Description |
|---|---|
SessionStorage |
create(SessionId sessionId,
boolean cleanStart)
Creates session storage from scratch or restores from its previous state.
|
int |
getMaxStorageSize()
Returns the maximum size of the storage in messages.
|
void |
setMaxStorageSize(int maxStorageSize)
Sets the maximum size of the storage in messages.
|
SessionStorage create(SessionId sessionId, boolean cleanStart)
sessionId - session idcleanStart - clean previous session state if anyStorageException - if session storage creation failedint getMaxStorageSize()
void setMaxStorageSize(int maxStorageSize)
maxStorageSize - maximum size of the message storageIllegalArgumentException - if (maxStorageSize < 0)Copyright © 2005–2025 Onix Solutions. All rights reserved.