public class SlabAllocator extends MemtableBufferAllocator
MemtableAllocator.SubAllocator| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size) |
java.nio.ByteBuffer |
allocate(int size,
OpOrder.Group opGroup) |
Cloner |
cloner(OpOrder.Group writeOp) |
EnsureOnHeap |
ensureOnHeap() |
void |
setDiscarded()
Indicate the memory and resources owned by this allocator are no longer referenced,
and can be reclaimed/reused.
|
allocatorisLive, offHeap, onHeap, setDiscardingpublic EnsureOnHeap ensureOnHeap()
ensureOnHeap in class MemtableAllocatorpublic java.nio.ByteBuffer allocate(int size)
public java.nio.ByteBuffer allocate(int size,
OpOrder.Group opGroup)
allocate in class MemtableBufferAllocatorpublic void setDiscarded()
MemtableAllocatorsetDiscarded in class MemtableAllocatorpublic Cloner cloner(OpOrder.Group writeOp)
cloner in class MemtableAllocatorCopyright © 2009-2022 The Apache Software Foundation