public static final class MetadataCache.LlapMetadataBuffer<T> extends LlapAllocatorBuffer implements MetadataCache.LlapBufferOrBuffers
allocSize, byteBuffer
IN_LIST, indexInHeap, INVALIDATE_ALREADY_INVALID, INVALIDATE_FAILED, INVALIDATE_OK, lastUpdate, next, NOT_IN_CACHE, prev, priority
Constructor and Description |
---|
LlapMetadataBuffer(T key,
String tag) |
Modifier and Type | Method and Description |
---|---|
T |
getKey() |
LlapAllocatorBuffer[] |
getMultipleBuffers() |
LlapAllocatorBuffer[] |
getMultipleLlapBuffers() |
LlapAllocatorBuffer |
getSingleBuffer() |
LlapAllocatorBuffer |
getSingleLlapBuffer() |
String |
getTag() |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
cancelDiscard, decRef, endDiscard, getByteBufferDup, getByteBufferRaw, getMemoryUsage, incRef, initialize, initializeWithExistingSlice, invalidate, invalidateAndRelease, isInvalid, isLocked, releaseInvalidated, setNewAllocLocation, startMoveOrDiscard, toDebugString, toString
toStringForCache
public void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted
in class LlapCacheableBuffer
public T getKey()
public LlapAllocatorBuffer getSingleBuffer()
getSingleBuffer
in interface org.apache.hadoop.hive.common.io.encoded.MemoryBufferOrBuffers
public LlapAllocatorBuffer[] getMultipleBuffers()
getMultipleBuffers
in interface org.apache.hadoop.hive.common.io.encoded.MemoryBufferOrBuffers
public LlapAllocatorBuffer getSingleLlapBuffer()
getSingleLlapBuffer
in interface MetadataCache.LlapBufferOrBuffers
public LlapAllocatorBuffer[] getMultipleLlapBuffers()
getMultipleLlapBuffers
in interface MetadataCache.LlapBufferOrBuffers
public String getTag()
getTag
in class LlapCacheableBuffer
Copyright © 2022 The Apache Software Foundation. All rights reserved.