|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreSettings
An interface for settings related to the the storages where page instances are persisted -
IPageStore
, IDataStore
and IPageManager
.
Method Summary | |
---|---|
int |
getAsynchronousQueueCapacity()
|
int |
getFileChannelPoolCapacity()
|
File |
getFileStoreFolder()
|
int |
getInmemoryCacheSize()
|
Bytes |
getMaxSizePerSession()
|
void |
setAsynchronousQueueCapacity(int capacity)
Sets the capacity of the queue used to store the pages which will be stored asynchronously |
void |
setFileChannelPoolCapacity(int capacity)
Sets the number of maximum opened file channels by DiskDataStore |
void |
setFileStoreFolder(File fileStoreFolder)
Sets the folder where DiskDataStore will store the files with page instances per
session |
void |
setInmemoryCacheSize(int inmemoryCacheSize)
Sets the maximum number of page instances which will be stored in the http session for faster retrieval |
void |
setMaxSizePerSession(Bytes maxSizePerSession)
Sets the maximum size of the File where page instances per session are stored. |
Method Detail |
---|
int getFileChannelPoolCapacity()
DiskDataStore
.void setFileChannelPoolCapacity(int capacity)
DiskDataStore
capacity
- the new maximum number of opened file channelsint getInmemoryCacheSize()
void setInmemoryCacheSize(int inmemoryCacheSize)
inmemoryCacheSize
- the maximum number of page instances which will be held in the http sessionBytes getMaxSizePerSession()
DiskDataStore
will start
saving the pages at the beginning of file.void setMaxSizePerSession(Bytes maxSizePerSession)
File
where page instances per session are stored. After
reaching this size the DiskDataStore
will start overriding the oldest pages at the
beginning of the file.
maxSizePerSession
- the maximum size of the file where page instances are stored per session. In
bytes.File getFileStoreFolder()
DiskDataStore
will store the files with page
instances per sessionvoid setFileStoreFolder(File fileStoreFolder)
DiskDataStore
will store the files with page instances per
session
fileStoreFolder
- the new locationint getAsynchronousQueueCapacity()
AsynchronousDataStore
void setAsynchronousQueueCapacity(int capacity)
capacity
- the capacity of the queueAsynchronousDataStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |