| Modifier and Type | Method and Description |
|---|---|
MemoryRequest |
NativeMemory.getMemoryRequest() |
MemoryRequest |
MemoryRegion.getMemoryRequest() |
MemoryRequest |
Memory.getMemoryRequest()
Returns a MemoryRequest or null
|
| Modifier and Type | Method and Description |
|---|---|
void |
NativeMemory.setMemoryRequest(MemoryRequest memReq) |
void |
MemoryRegion.setMemoryRequest(MemoryRequest memReq) |
void |
Memory.setMemoryRequest(MemoryRequest memReq)
Sets a MemoryRequest
|
| Constructor and Description |
|---|
AllocMemory(long capacityBytes,
MemoryRequest memReq)
Constructor for allocate native memory with MemoryRequest.
|
AllocMemory(NativeMemory origMem,
long copyToBytes,
long capacityBytes,
boolean clear,
MemoryRequest memReq)
Constructor to allocate new off-heap NativeMemory, copy from the given origMem,
and optionally clear the remainder.
|
AllocMemory(NativeMemory origMem,
long newCapacityBytes,
MemoryRequest memReq)
Constructor to allocate new off-heap native memory, copy the contents from the given origMem.
|
MemoryRegion(Memory memory,
long memOffsetBytes,
long capacityBytes,
MemoryRequest memReq)
Defines a region of the given parent Memory by defining an offset and capacity that are
within the boundaries of the parent.
|
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.