Interface DirectMemoryRegion

All Known Implementing Classes:
UnsafeChunk

public interface DirectMemoryRegion
Interface for a direct memory region allocated by provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    slice(long offset)
    Gets a sub-region of this region starting from the given offset.
  • Method Details

    • address

      long address()
      Returns:
      Region start address.
    • size

      long size()
      Returns:
      Region size.
    • slice

      DirectMemoryRegion slice(long offset)
      Gets a sub-region of this region starting from the given offset.
      Parameters:
      offset - Offset within this region.
      Returns:
      Sub-region.