public class NativeContext extends Object
| Constructor and Description |
|---|
NativeContext(BufferAllocator allocator,
NativeMemoryPool memoryPool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BufferAllocator |
getAllocator()
Returns the allocator which is in use.
|
NativeMemoryPool |
getMemoryPool()
Returns the native memory pool.
|
public NativeContext(BufferAllocator allocator, NativeMemoryPool memoryPool)
allocator - The allocator in use.memoryPool - Native memory pool.public BufferAllocator getAllocator()
public NativeMemoryPool getMemoryPool()
Copyright © 2023 The Apache Software Foundation. All rights reserved.