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 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