Interface IPersistentPageStore

  • All Superinterfaces:
    IPageStore
    All Known Implementing Classes:
    DiskPageStore, FilePageStore, InMemoryPageStore

    public interface IPersistentPageStore
    extends IPageStore
    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 Detail

      • getSessionIdentifier

        String getSessionIdentifier​(IPageContext context)
        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:
        getPersistedPages(String)
      • getSessionIdentifiers

        Set<String> getSessionIdentifiers()
        Get the identifiers for all stored sessions.
        Returns:
        the identifiers of all session.
      • getPersistedPages

        List<IPersistedPage> getPersistedPages​(String sessionIdentifier)
        Get information about all persisted pages with the given session identifier.
        Parameters:
        sessionIdentifier - identifier of the session.
        Returns:
        all persisted pages
      • getTotalSize

        org.apache.wicket.util.lang.Bytes getTotalSize()
        Get total size of all pages stored in all contexts.

        Optional operation, may return null.

        Returns:
        total size or null