All Superinterfaces:
HasArrayOps<T>, PageHelper, Slice<T>, SliceMetaDataBasic, org.apache.jena.atlas.lib.Sync
All Known Implementing Classes:
SliceInMemoryCache

public interface SliceWithPages<T> extends Slice<T>, PageHelper
  • Method Details

    • getPageSize

      long getPageSize()
      Specified by:
      getPageSize in interface PageHelper
    • newSliceAccessor

      default SliceAccessor<T> newSliceAccessor()
      Description copied from interface: Slice
      An accessor which allows for 'claiming' a sub-range of this slice. The claimed range can be incrementally modified which may re-use already allocated resources (e.g. claimed pages) and thus improve performance. Sub-ranges of a slice can be loaded and iterated or inserted into. The sub-ranges can be modified dynamically.
      Specified by:
      newSliceAccessor in interface Slice<T>
    • getPageForPageId

      RefFuture<BufferView<T>> getPageForPageId(long pageId)