All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
debugDumpShort(StringBuilder sb) |
void |
decRefBuffer(MemoryBufferOrBuffers buffer)
Releases the buffer returned from getFileMetadata or putFileMetadata method.
|
int |
determineAllocCount(ByteBuffer tailBuffer) |
MetadataCache.LlapBufferOrBuffers |
getFileMetadata(Object fileKey) |
DiskRangeList |
getIncompleteCbs(Object fileKey,
DiskRangeList ranges,
long baseOffset,
DataCache.BooleanRef gotAllData) |
MetadataCache.LlapBufferOrBuffers |
getStripeTail(OrcBatchKey stripeKey) |
boolean |
lockOneBuffer(LlapAllocatorBuffer buffer,
boolean doNotifyPolicy) |
long |
markBuffersForProactiveEviction(Predicate<CacheTag> predicate,
boolean isInstantDeallocation)
Iterates through the file entries of this cache and for those that match the given predicate (aka have a matching
CacheTag) will have their buffers marked for (a later) proactive eviction.
|
void |
notifyEvicted(MetadataCache.LlapMetadataBuffer<?> buffer) |
void |
notifyEvicted(OrcFileEstimateErrors buffer) |
MemoryBufferOrBuffers |
putFileMetadata(Object fileKey,
ByteBuffer tailBuffer) |
MemoryBufferOrBuffers |
putFileMetadata(Object fileKey,
ByteBuffer tailBuffer,
CacheTag tag) |
MetadataCache.LlapBufferOrBuffers |
putFileMetadata(Object fileKey,
ByteBuffer tailBuffer,
CacheTag tag,
AtomicBoolean isStopped)
Puts the metadata for a given file (e.g.
|
MemoryBufferOrBuffers |
putFileMetadata(Object fileKey,
int length,
InputStream is) |
MemoryBufferOrBuffers |
putFileMetadata(Object fileKey,
int length,
InputStream is,
CacheTag tag) |
MetadataCache.LlapBufferOrBuffers |
putFileMetadata(Object fileKey,
int length,
InputStream is,
CacheTag tag,
AtomicBoolean isStopped) |
void |
putIncompleteCbs(Object fileKey,
DiskRange[] ranges,
long baseOffset,
AtomicBoolean isStopped) |
MetadataCache.LlapBufferOrBuffers |
putStripeTail(OrcBatchKey stripeKey,
ByteBuffer tailBuffer,
CacheTag tag,
AtomicBoolean isStopped) |