public final class LlapDataBuffer extends LlapAllocatorBuffer
Modifier and Type | Field and Description |
---|---|
int |
declaredCachedLength
ORC cache uses this to store compressed length; buffer is cached uncompressed, but
the lookup is on compressed ranges, so we need to know this.
|
static int |
UNKNOWN_CACHED_LENGTH |
allocSize, byteBuffer
IN_LIST, indexInHeap, INVALIDATE_ALREADY_INVALID, INVALIDATE_FAILED, INVALIDATE_OK, lastUpdate, next, NOT_IN_CACHE, prev, priority
Constructor and Description |
---|
LlapDataBuffer() |
Modifier and Type | Method and Description |
---|---|
String |
getTag() |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
void |
setTag(String tag) |
cancelDiscard, decRef, endDiscard, getByteBufferDup, getByteBufferRaw, getMemoryUsage, incRef, initialize, initializeWithExistingSlice, invalidate, invalidateAndRelease, isInvalid, isLocked, releaseInvalidated, setNewAllocLocation, startMoveOrDiscard, toDebugString, toString
toStringForCache
public static final int UNKNOWN_CACHED_LENGTH
public int declaredCachedLength
public void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted
in class LlapCacheableBuffer
public void setTag(String tag)
public String getTag()
getTag
in class LlapCacheableBuffer
Copyright © 2022 The Apache Software Foundation. All rights reserved.