Class MemtableAllocator.SubAllocator
- java.lang.Object
-
- org.apache.cassandra.utils.memory.MemtableAllocator.SubAllocator
-
- Enclosing class:
- MemtableAllocator
public static class MemtableAllocator.SubAllocator extends java.lang.ObjectMark the BB as unused, permitting it to be reclaimed
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadjust(long size, OpOrder.Group opGroup)Like allocate, but permits allocations to be negative.voidallocate(long size, OpOrder.Group opGroup)longgetReclaiming()floatownershipRatio()longowns()
-
-
-
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()
-
-