Interface DirectMemoryProvider

    • Method Detail

      • initialize

        void initialize​(long[] chunkSizes)
        Parameters:
        chunkSizes - Initializes provider with the chunk sizes.
      • shutdown

        void shutdown​(boolean deallocate)
        Shuts down the provider.
        Parameters:
        deallocate - True to deallocate memory, false to allow memory reuse.
      • nextRegion

        DirectMemoryRegion nextRegion()
        Attempts to allocate next memory region. Will return null if no more regions are available.
        Returns:
        Next memory region.