Class MemtableAllocator.SubAllocator
- java.lang.Object
-
- org.apache.cassandra.utils.memory.MemtableAllocator.SubAllocator
-
- Enclosing class:
- MemtableAllocator
public static final class MemtableAllocator.SubAllocator extends java.lang.Object
Mark the BB as unused, permitting it to be reclaimed
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjust(long size, OpOrder.Group opGroup)
Like allocate, but permits allocations to be negative.void
allocate(long size, OpOrder.Group opGroup)
long
getReclaiming()
float
ownershipRatio()
long
owns()
-
-
-
Method Detail
-
adjust
public void adjust(long size, OpOrder.Group opGroup)
Like allocate, but permits allocations to be negative.
-
allocate
public void allocate(long size, OpOrder.Group opGroup)
-
owns
public long owns()
-
getReclaiming
public long getReclaiming()
-
ownershipRatio
public float ownershipRatio()
-
-