public class NativeMemoryPool extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static NativeMemoryPool |
createListenable(ReservationListener listener)
Create a listenable memory pool (see also: arrow::ReservationListenableMemoryPool) with
a specific listener.
|
long |
getBytesAllocated()
Get current allocated bytes.
|
static NativeMemoryPool |
getDefault()
Get the default memory pool.
|
long |
getNativeInstanceId()
Return native instance ID of this memory pool.
|
public static NativeMemoryPool getDefault()
public static NativeMemoryPool createListenable(ReservationListener listener)
public long getNativeInstanceId()
public long getBytesAllocated()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.