public class HeapPool extends MemtablePool
Modifier and Type | Class and Description |
---|---|
static class |
HeapPool.Allocator |
static class |
HeapPool.Logged |
MemtablePool.SubPool
blockedOnAllocating, numPendingTasks, offHeap, onHeap
Constructor and Description |
---|
HeapPool(long maxOnHeapMemory,
float cleanupThreshold,
MemtableCleaner cleaner) |
Modifier and Type | Method and Description |
---|---|
MemtableAllocator |
newAllocator(java.lang.String table) |
getNumPendingtasks, needsCleaning, shutdownAndWait
public HeapPool(long maxOnHeapMemory, float cleanupThreshold, MemtableCleaner cleaner)
public MemtableAllocator newAllocator(java.lang.String table)
newAllocator
in class MemtablePool
Copyright © 2009-2022 The Apache Software Foundation