|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISessionSettings
Interface for session related settings
pageFactory - The factory class that is used for constructing page instances.
pageMapEvictionStrategy - The strategy for evicting pages from page maps when they are too full
maxPageMaps - The maximum number of page maps allowed in a session (to prevent denial of service attacks)
Method Summary | |
---|---|
int |
getMaxPageMaps()
Gets maximum number of page maps allowed in this session |
IPageFactory |
getPageFactory()
Gets the factory to be used when creating pages |
IPageMapEvictionStrategy |
getPageMapEvictionStrategy()
Gets the strategy for evicting pages from the page map. |
boolean |
isPageIdUniquePerSession()
Returns whether the page id is unique per session. |
void |
setMaxPageMaps(int maxPageMaps)
Sets maximum number of page maps allowed in this session |
void |
setPageFactory(IPageFactory pageFactory)
Sets the factory to be used when creating pages. |
void |
setPageIdUniquePerSession(boolean value)
Sets whether the id of a page should be unique across the entire session. |
void |
setPageMapEvictionStrategy(IPageMapEvictionStrategy pageMapEvictionStrategy)
Sets the strategy for evicting pages from the page map. |
Method Detail |
---|
int getMaxPageMaps()
IPageFactory getPageFactory()
IPageMapEvictionStrategy getPageMapEvictionStrategy()
void setMaxPageMaps(int maxPageMaps)
maxPageMaps
- Maximum number of page mapsvoid setPageFactory(IPageFactory pageFactory)
pageFactory
- The default factoryvoid setPageMapEvictionStrategy(IPageMapEvictionStrategy pageMapEvictionStrategy)
pageMapEvictionStrategy
- the strategy for evicting pages from the page mapvoid setPageIdUniquePerSession(boolean value)
value
- boolean isPageIdUniquePerSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |