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