public class SlabPool extends MemtablePool
MemtablePool.SubPool
blockedOnAllocating, numPendingTasks, offHeap, onHeap
Constructor and Description |
---|
SlabPool(long maxOnHeapMemory,
long maxOffHeapMemory,
float cleanupThreshold,
MemtableCleaner cleaner) |
Modifier and Type | Method and Description |
---|---|
boolean |
needToCopyOnHeap() |
MemtableAllocator |
newAllocator() |
getNumPendingtasks, needsCleaning, shutdownAndWait
public SlabPool(long maxOnHeapMemory, long maxOffHeapMemory, float cleanupThreshold, MemtableCleaner cleaner)
public MemtableAllocator newAllocator()
newAllocator
in class MemtablePool
public boolean needToCopyOnHeap()
needToCopyOnHeap
in class MemtablePool
Copyright © 2021 The Apache Software Foundation