public static final class MetadataCache.LlapMetadataBuffer<T> extends LlapAllocatorBuffer implements MetadataCache.LlapBufferOrBuffers
allocSize, byteBufferIN_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, toStringtoStringForCachepublic void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted in class LlapCacheableBufferpublic T getKey()
public LlapAllocatorBuffer getSingleBuffer()
getSingleBuffer in interface org.apache.hadoop.hive.common.io.encoded.MemoryBufferOrBufferspublic LlapAllocatorBuffer[] getMultipleBuffers()
getMultipleBuffers in interface org.apache.hadoop.hive.common.io.encoded.MemoryBufferOrBufferspublic LlapAllocatorBuffer getSingleLlapBuffer()
getSingleLlapBuffer in interface MetadataCache.LlapBufferOrBufferspublic LlapAllocatorBuffer[] getMultipleLlapBuffers()
getMultipleLlapBuffers in interface MetadataCache.LlapBufferOrBufferspublic String getTag()
getTag in class LlapCacheableBufferCopyright © 2019 The Apache Software Foundation. All Rights Reserved.