public class UnsafeChunk extends Object implements DirectMemoryRegion
Constructor and Description |
---|
UnsafeChunk(long ptr,
long len) |
public UnsafeChunk(long ptr, long len)
ptr
- Pointer to the memory start.len
- Memory length.public long address()
address
in interface DirectMemoryRegion
public long size()
size
in interface DirectMemoryRegion
public DirectMemoryRegion slice(long offset)
slice
in interface DirectMemoryRegion
offset
- Offset within this region.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017