protected static final class HostColumnVectorCore.OffHeapState extends MemoryCleaner.Cleaner
Modifier and Type | Field and Description |
---|---|
HostMemoryBuffer |
data |
HostMemoryBuffer |
offsets |
HostMemoryBuffer |
valid |
id
Modifier and Type | Method and Description |
---|---|
protected boolean |
cleanImpl(boolean logErrorIfNotClean)
Clean up any resources not previously released.
|
long |
getHostMemorySize()
This returns total memory allocated on the host for the ColumnVector.
|
boolean |
isClean()
Check if the underlying memory has been cleaned up or not.
|
void |
noWarnLeakExpected() |
String |
toString() |
addRef, clean, delRef, isLeakExpected, logRefCountDebug
public HostMemoryBuffer data
public HostMemoryBuffer valid
public HostMemoryBuffer offsets
protected boolean cleanImpl(boolean logErrorIfNotClean)
MemoryCleaner.Cleaner
cleanImpl
in class MemoryCleaner.Cleaner
logErrorIfNotClean
- if true and there are resources to clean up a leak has happened
so log it.public void noWarnLeakExpected()
noWarnLeakExpected
in class MemoryCleaner.Cleaner
public boolean isClean()
MemoryCleaner.Cleaner
isClean
in class MemoryCleaner.Cleaner
public long getHostMemorySize()
Copyright © 2024. All rights reserved.