public abstract class MemtableBufferAllocator extends MemtableAllocator
MemtableAllocator.DataReclaimer, MemtableAllocator.SubAllocator
NO_OP
Modifier | Constructor and Description |
---|---|
protected |
MemtableBufferAllocator(MemtableAllocator.SubAllocator onHeap,
MemtableAllocator.SubAllocator offHeap) |
Modifier and Type | Method and Description |
---|---|
abstract java.nio.ByteBuffer |
allocate(int size,
OpOrder.Group opGroup) |
protected AbstractAllocator |
allocator(OpOrder.Group writeOp) |
DecoratedKey |
clone(DecoratedKey key,
OpOrder.Group writeOp) |
Row.Builder |
rowBuilder(OpOrder.Group writeOp) |
isLive, offHeap, onHeap, reclaimer, setDiscarded, setDiscarding
protected MemtableBufferAllocator(MemtableAllocator.SubAllocator onHeap, MemtableAllocator.SubAllocator offHeap)
public Row.Builder rowBuilder(OpOrder.Group writeOp)
rowBuilder
in class MemtableAllocator
public DecoratedKey clone(DecoratedKey key, OpOrder.Group writeOp)
clone
in class MemtableAllocator
public abstract java.nio.ByteBuffer allocate(int size, OpOrder.Group opGroup)
protected AbstractAllocator allocator(OpOrder.Group writeOp)
Copyright © 2016 The Apache Software Foundation