- All Superinterfaces:
IPageStore
- All Known Implementing Classes:
DiskPageStore
,FilePageStore
,InMemoryPageStore
A store that can provide information about stored pages.
This is an optional interface to a store that is not involved during normal page processing. Rather, it is used for analysis of application memory footprint.
-
Method Summary
Modifier and TypeMethodDescriptiongetPersistedPages
(String sessionIdentifier) Get information about all persisted pages with the given session identifier.getSessionIdentifier
(IPageContext context) Get the session identifier for pages stored for the given context.Get the identifiers for all stored sessions.Get total size of all pages stored in all contexts.Methods inherited from interface org.apache.wicket.pageStore.IPageStore
addPage, canBeAsynchronous, destroy, detach, end, getPage, removeAllPages, removePage, revertPage, supportsVersioning
-
Method Details
-
getSessionIdentifier
Get the session identifier for pages stored for the given context.- Parameters:
context
- a context of pages- Returns:
- the identifier of the session.
- See Also:
-
getSessionIdentifiers
Get the identifiers for all stored sessions.- Returns:
- the identifiers of all session.
-
getPersistedPages
Get information about all persisted pages with the given session identifier.- Parameters:
sessionIdentifier
- identifier of the session.- Returns:
- all persisted pages
-
getTotalSize
Get total size of all pages stored in all contexts.Optional operation, may return
null
.- Returns:
- total size or
null
-