Class MemtableBufferAllocator
- java.lang.Object
-
- org.apache.cassandra.utils.memory.MemtableAllocator
-
- org.apache.cassandra.utils.memory.MemtableBufferAllocator
-
- Direct Known Subclasses:
HeapPool.Allocator
,SlabAllocator
public abstract class MemtableBufferAllocator extends MemtableAllocator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.utils.memory.MemtableAllocator
MemtableAllocator.SubAllocator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MemtableBufferAllocator(MemtableAllocator.SubAllocator onHeap, MemtableAllocator.SubAllocator offHeap)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.nio.ByteBuffer
allocate(int size, OpOrder.Group opGroup)
protected Cloner
allocator(OpOrder.Group opGroup)
-
Methods inherited from class org.apache.cassandra.utils.memory.MemtableAllocator
cloner, ensureOnHeap, isLive, offHeap, onHeap, setDiscarded, setDiscarding
-
-
-
-
Constructor Detail
-
MemtableBufferAllocator
protected MemtableBufferAllocator(MemtableAllocator.SubAllocator onHeap, MemtableAllocator.SubAllocator offHeap)
-
-
Method Detail
-
allocate
public abstract java.nio.ByteBuffer allocate(int size, OpOrder.Group opGroup)
-
allocator
protected Cloner allocator(OpOrder.Group opGroup)
-
-