protected static final class HostColumnVector.OffHeapState extends Object
| Modifier and Type | Field and Description |
|---|---|
HostMemoryBuffer |
data |
long |
id |
HostMemoryBuffer |
offsets |
HostMemoryBuffer |
valid |
| Modifier and Type | Method and Description |
|---|---|
void |
addRef() |
boolean |
clean(boolean logErrorIfNotClean)
Clean up any resources not previously released.
|
protected boolean |
cleanImpl(boolean logErrorIfNotClean)
Clean up any resources not previously released.
|
void |
delRef() |
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.
|
boolean |
isLeakExpected()
Return true if a leak is expected for this object else false.
|
void |
logRefCountDebug(String message) |
void |
noWarnLeakExpected() |
String |
toString() |
public HostMemoryBuffer data
public HostMemoryBuffer valid
public HostMemoryBuffer offsets
public final long id
protected boolean cleanImpl(boolean logErrorIfNotClean)
logErrorIfNotClean - if true and there are resources to clean up a leak has happened
so log it.public void noWarnLeakExpected()
public boolean isClean()
public long getHostMemorySize()
public final void addRef()
public final void delRef()
public final void logRefCountDebug(String message)
public final boolean clean(boolean logErrorIfNotClean)
logErrorIfNotClean - if true we should log a leak unless it is expected.public final boolean isLeakExpected()
Copyright © 2020. All rights reserved.