public class SlabAllocator extends MemtableBufferAllocator
MemtableAllocator.DataReclaimer, MemtableAllocator.SubAllocatorNO_OP| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
allocate(int size) |
java.nio.ByteBuffer |
allocate(int size,
OpOrder.Group opGroup) |
protected AbstractAllocator |
allocator(OpOrder.Group writeOp) |
MemtableAllocator.DataReclaimer |
reclaimer() |
void |
setDiscarded()
Indicate the memory and resources owned by this allocator are no longer referenced,
and can be reclaimed/reused.
|
clone, rowBuilderisLive, offHeap, onHeap, setDiscardingpublic java.nio.ByteBuffer allocate(int size)
public java.nio.ByteBuffer allocate(int size,
OpOrder.Group opGroup)
allocate in class MemtableBufferAllocatorpublic MemtableAllocator.DataReclaimer reclaimer()
reclaimer in class MemtableAllocatorpublic void setDiscarded()
MemtableAllocatorsetDiscarded in class MemtableAllocatorprotected AbstractAllocator allocator(OpOrder.Group writeOp)
allocator in class MemtableBufferAllocatorCopyright © 2016 The Apache Software Foundation