public class UnsafeChunk extends Object implements DirectMemoryRegion
| Constructor and Description |
|---|
UnsafeChunk(long ptr,
long len) |
| Modifier and Type | Method and Description |
|---|---|
long |
address() |
long |
size() |
DirectMemoryRegion |
slice(long offset)
Gets a sub-region of this region starting from the given offset.
|
String |
toString() |
public UnsafeChunk(long ptr,
long len)
ptr - Pointer to the memory start.len - Memory length.public long address()
address in interface DirectMemoryRegionpublic long size()
size in interface DirectMemoryRegionpublic DirectMemoryRegion slice(long offset)
slice in interface DirectMemoryRegionoffset - Offset within this region.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023