public class LowLevelFifoCachePolicy extends Object implements LowLevelCachePolicy
Constructor and Description |
---|
LowLevelFifoCachePolicy() |
Modifier and Type | Method and Description |
---|---|
void |
cache(LlapCacheableBuffer buffer,
LowLevelCache.Priority pri) |
String |
debugDumpForOom() |
void |
debugDumpShort(StringBuilder sb) |
long |
evictSomeBlocks(long memoryToReserve) |
void |
notifyLock(LlapCacheableBuffer buffer) |
void |
notifyUnlock(LlapCacheableBuffer buffer) |
long |
purge() |
void |
setEvictionListener(EvictionListener listener) |
void |
setParentDebugDumper(LlapOomDebugDump dumper) |
public void cache(LlapCacheableBuffer buffer, LowLevelCache.Priority pri)
cache
in interface LowLevelCachePolicy
public void notifyLock(LlapCacheableBuffer buffer)
notifyLock
in interface LowLevelCachePolicy
public void notifyUnlock(LlapCacheableBuffer buffer)
notifyUnlock
in interface LowLevelCachePolicy
public void setEvictionListener(EvictionListener listener)
setEvictionListener
in interface LowLevelCachePolicy
public void setParentDebugDumper(LlapOomDebugDump dumper)
setParentDebugDumper
in interface LowLevelCachePolicy
public long purge()
purge
in interface LowLevelCachePolicy
public long evictSomeBlocks(long memoryToReserve)
evictSomeBlocks
in interface LowLevelCachePolicy
public String debugDumpForOom()
debugDumpForOom
in interface LlapOomDebugDump
public void debugDumpShort(StringBuilder sb)
debugDumpShort
in interface LlapOomDebugDump
Copyright © 2022 The Apache Software Foundation. All rights reserved.