Package org.apache.ignite.internal.mem
Interface DirectMemoryRegion
-
- All Known Implementing Classes:
MappedFile,UnsafeChunk
public interface DirectMemoryRegionInterface for a direct memory region allocated by provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longaddress()longsize()DirectMemoryRegionslice(long offset)Gets a sub-region of this region starting from the given offset.
-
-
-
Method Detail
-
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.
-
-