Class OnDiskArrayPageFileFactory<P extends Page>

  • Type Parameters:
    P - Page type
    All Implemented Interfaces:
    PageFileFactory<P>

    public class OnDiskArrayPageFileFactory<P extends Page>
    extends AbstractPageFileFactory<P>
    Page file factory for disk-based page files.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Detail

      • fileName

        private java.nio.file.Path fileName
        File name.
    • Constructor Detail

      • OnDiskArrayPageFileFactory

        public OnDiskArrayPageFileFactory​(int pageSize,
                                          java.nio.file.Path fileName)
        Constructor.
        Parameters:
        pageSize - Page size
    • Method Detail

      • newPageFile

        public PageFile<P> newPageFile​(java.lang.Class<P> cls)
        Description copied from interface: PageFileFactory
        Make a new page file.
        Parameters:
        cls - Page class
        Returns:
        Page file