public static class HeapPool.Allocator extends MemtableBufferAllocator
MemtableAllocator.SubAllocator
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
allocate(int size,
OpOrder.Group opGroup) |
Cloner |
cloner(OpOrder.Group opGroup) |
EnsureOnHeap |
ensureOnHeap() |
allocator
isLive, offHeap, onHeap, setDiscarded, setDiscarding
public Allocator(HeapPool pool)
public java.nio.ByteBuffer allocate(int size, OpOrder.Group opGroup)
allocate
in class MemtableBufferAllocator
public EnsureOnHeap ensureOnHeap()
ensureOnHeap
in class MemtableAllocator
public Cloner cloner(OpOrder.Group opGroup)
cloner
in class MemtableAllocator
Copyright © 2009- The Apache Software Foundation