Class MemtableAllocator
java.lang.Object
org.apache.cassandra.utils.memory.MemtableAllocator
- Direct Known Subclasses:
MemtableBufferAllocator,NativeAllocator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMark the BB as unused, permitting it to be reclaimed -
Method Summary
Modifier and TypeMethodDescriptionabstract Clonercloner(OpOrder.Group opGroup) abstract EnsureOnHeapbooleanisLive()offHeap()onHeap()voidIndicate the memory and resources owned by this allocator are no longer referenced, and can be reclaimed/reused.voidMark this allocator reclaiming; this will permit any outstanding allocations to temporarily overshoot the maximum memory limit so that flushing can begin immediately
-
Method Details
-
ensureOnHeap
-
cloner
-
onHeap
-
offHeap
-
setDiscarding
public void setDiscarding()Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily overshoot the maximum memory limit so that flushing can begin immediately -
setDiscarded
public void setDiscarded()Indicate the memory and resources owned by this allocator are no longer referenced, and can be reclaimed/reused. -
isLive
public boolean isLive()
-