Class ReadBufferDataHandle<L extends Location>

    • Constructor Detail

      • ReadBufferDataHandle

        public ReadBufferDataHandle​(DataHandle<L> handle)
        Creates a ReadBufferDataHandle wrapping the provided handle using the default values for the size of the pages (10000 byte) and number of pages (DEFAULT_NUM_PAGES).
        Parameters:
        handle - the handle to wrap
      • ReadBufferDataHandle

        public ReadBufferDataHandle​(DataHandle<L> handle,
                                    int pageSize)
        Creates a ReadBufferDataHandle wrapping the provided handle using the default value for the number of pages (DEFAULT_NUM_PAGES).
        Parameters:
        handle - the handle to wrap
        pageSize - the size of the used pages
      • ReadBufferDataHandle

        public ReadBufferDataHandle​(DataHandle<L> handle,
                                    int pageSize,
                                    int numPages)
        Creates a ReadBufferDataHandle wrapping the provided handle.
        Parameters:
        handle - the handle to wrap
        pageSize - the size of the used pages
        numPages - the number of pages to use