| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMemoryRequestServer
This is a simple implementation of the MemoryRequestServer that creates space on the Java heap
for the requesting application.
|
| Modifier and Type | Field and Description |
|---|---|
static MemoryRequestServer |
BaseState.defaultMemReqSvr
The placeholder for the default MemoryRequestServer, if set at all.
|
| Modifier and Type | Method and Description |
|---|---|
MemoryRequestServer |
WritableBuffer.getMemoryRequestServer()
WritableBuffer enables this for ByteBuffer backed resources.
|
MemoryRequestServer |
WritableMemory.getMemoryRequestServer()
WritableMemory enables this for ByteBuffer, Heap and Direct Memory backed resources.
|
| Modifier and Type | Method and Description |
|---|---|
static WritableMemory |
WritableMemory.allocate(int capacityBytes,
ByteOrder byteOrder,
MemoryRequestServer memReqSvr)
Creates on-heap WritableMemory with the given capacity and the given byte order.
|
static WritableHandle |
WritableMemory.allocateDirect(long capacityBytes,
ByteOrder byteOrder,
MemoryRequestServer memReqSvr)
Allocates and provides access to capacityBytes directly in native (off-heap) memory.
|
static WritableMemory |
WritableMemory.writableWrap(byte[] array,
int offsetBytes,
int lengthBytes,
ByteOrder byteOrder,
MemoryRequestServer memReqSvr)
Wraps the given primitive array for write operations with the given byte order.
|
static WritableBuffer |
WritableBuffer.writableWrap(ByteBuffer byteBuf,
ByteOrder byteOrder,
MemoryRequestServer memReqSvr)
Accesses the given ByteBuffer for write operations.
|
static WritableMemory |
WritableMemory.writableWrap(ByteBuffer byteBuffer,
ByteOrder byteOrder,
MemoryRequestServer memReqSvr)
Accesses the given ByteBuffer for write operations.
|
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.