public abstract class MemtablePool
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MemtablePool.SubPool
Note the difference between acquire() and allocate(); allocate() makes more resources available to all owners,
and acquire() makes shared resources unavailable but still recorded.
|
Modifier and Type | Field and Description |
---|---|
com.codahale.metrics.Timer |
blockedOnAllocating |
MemtablePool.SubPool |
offHeap |
MemtablePool.SubPool |
onHeap |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
needToCopyOnHeap() |
abstract MemtableAllocator |
newAllocator() |
void |
shutdownAndWait(long timeout,
java.util.concurrent.TimeUnit unit) |
public final MemtablePool.SubPool onHeap
public final MemtablePool.SubPool offHeap
public final com.codahale.metrics.Timer blockedOnAllocating
public abstract boolean needToCopyOnHeap()
public void shutdownAndWait(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
public abstract MemtableAllocator newAllocator()
Copyright © 2020 The Apache Software Foundation