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) |
Cell |
clone(Cell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
CounterCell |
clone(CounterCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
DecoratedKey |
clone(DecoratedKey key,
OpOrder.Group writeOp) |
DeletedCell |
clone(DeletedCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
ExpiringCell |
clone(ExpiringCell cell,
CFMetaData cfm,
OpOrder.Group writeOp) |
isLive, offHeap, onHeap, reclaimer, setDiscarded, setDiscarding
protected MemtableBufferAllocator(MemtableAllocator.SubAllocator onHeap, MemtableAllocator.SubAllocator offHeap)
public Cell clone(Cell cell, CFMetaData cfm, OpOrder.Group writeOp)
clone
in class MemtableAllocator
public CounterCell clone(CounterCell cell, CFMetaData cfm, OpOrder.Group writeOp)
clone
in class MemtableAllocator
public DeletedCell clone(DeletedCell cell, CFMetaData cfm, OpOrder.Group writeOp)
clone
in class MemtableAllocator
public ExpiringCell clone(ExpiringCell cell, CFMetaData cfm, OpOrder.Group writeOp)
clone
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 © 2018 The Apache Software Foundation