Class PageStoreManagerImpl

java.lang.Object
org.apache.ignite.internal.pagemem.PageStoreManagerImpl
All Implemented Interfaces:
PageStoreManager

public final class PageStoreManagerImpl extends Object implements PageStoreManager
The default implementation of PageStoreManager interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PageStoreManagerImpl(int pageSize, boolean forceSync)
    Constructs a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    allocatePage(int grpId)
    Allocates a page for the given page space.
    void
    exportStore(int grpId, Path destinationPath)
    Exports the store.
    boolean
    Checks if meta page for specified store is persisted.
    int
    metaPageId(int grpId)
    Gets meta page ID for specified store.
    int
    pageCount(int grpId)
    Gets page count.
    void
    read(int grpId, int pageId, ByteBuffer pageBuf)
    Reads a page for the given group ID.
    void
    reservePage(int grpId, int pageId)
    Reserves a page.
    void
    startStore(int grpId, Path path, boolean restorationMode)
    Starts the store with the specified ID.
    void
    stopStore(int grpId)
    Stops the store with the specified ID.
    void
    write(int grpId, int pageId, ByteBuffer pageBuf)
    Writes the page for the given group ID.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait