public interface LowLevelCachePolicy extends LlapOomDebugDump
Modifier and Type | Method and Description |
---|---|
void |
cache(LlapCacheableBuffer buffer,
LowLevelCache.Priority priority) |
long |
evictSomeBlocks(long memoryToReserve) |
void |
notifyLock(LlapCacheableBuffer buffer) |
void |
notifyUnlock(LlapCacheableBuffer buffer) |
void |
setEvictionListener(EvictionListener listener) |
void |
setParentDebugDumper(LlapOomDebugDump dumper) |
int |
tryEvictContiguousData(int allocationSize,
int count)
TODO: temporary method until we have a better allocator
|
debugDumpForOom
void cache(LlapCacheableBuffer buffer, LowLevelCache.Priority priority)
void notifyLock(LlapCacheableBuffer buffer)
void notifyUnlock(LlapCacheableBuffer buffer)
long evictSomeBlocks(long memoryToReserve)
void setEvictionListener(EvictionListener listener)
void setParentDebugDumper(LlapOomDebugDump dumper)
int tryEvictContiguousData(int allocationSize, int count)
Copyright © 2016 The Apache Software Foundation. All rights reserved.