Class LRUCachePageFileFactory<P extends Page>

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

    public class LRUCachePageFileFactory<P extends Page>
    extends java.lang.Object
    implements PageFileFactory<P>
    Page file factory for memory page files.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Detail

      • cacheSize

        private int cacheSize
        Cache size, in bytes.
    • Constructor Detail

      • LRUCachePageFileFactory

        public LRUCachePageFileFactory​(PageFileFactory<P> pageFileFactory,
                                       int cacheSize)
        Constructor.
        Parameters:
        pageFileFactory - Inner page file
        cacheSize - Size of cache, in bytes.