## Uses of Class
org.apache.cassandra.utils.memory.MemtableAllocator

- Packages that use MemtableAllocator
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.utils.memory |

- - ### Uses of MemtableAllocator in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return MemtableAllocator
    Modifier and Type | Method and Description
    --- | ---
    `MemtableAllocator` | Memtable.`getAllocator()`

    Methods in org.apache.cassandra.db with parameters of type MemtableAllocator
    Modifier and Type | Method and Description
    --- | ---
    `Pair<java.lang.Long,java.lang.Long>` | AtomicBTreeColumns.`addAllWithSizeDelta(ColumnFamily cm, MemtableAllocator allocator, OpOrder.Group writeOp, SecondaryIndexManager.Updater indexer)` This is only called by Memtable.resolve, so only AtomicBTreeColumns needs to implement it.
    `Cell` | BufferCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `CounterCell` | BufferCounterCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `Cell` | BufferCounterUpdateCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `DeletedCell` | BufferDeletedCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `ExpiringCell` | BufferExpiringCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `Cell` | Cell.`localCopy(CFMetaData metaData, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `CounterCell` | CounterCell.`localCopy(CFMetaData metaData, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `DeletedCell` | DeletedCell.`localCopy(CFMetaData metaData, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `ExpiringCell` | ExpiringCell.`localCopy(CFMetaData metaData, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `Cell` | NativeCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `CounterCell` | NativeCounterCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `DeletedCell` | NativeDeletedCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`
    `ExpiringCell` | NativeExpiringCell.`localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)`

  - ### Uses of MemtableAllocator in org.apache.cassandra.utils.memory

    Subclasses of MemtableAllocator in org.apache.cassandra.utils.memory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HeapPool.Allocator`
    `class` | `MemtableBufferAllocator`
    `class` | `NativeAllocator`
    `class` | `SlabAllocator` The SlabAllocator is a bump-the-pointer allocator that allocates large (2MB by default) regions and then doles them out to threads that request slices into the array.

    Methods in org.apache.cassandra.utils.memory that return MemtableAllocator
    Modifier and Type | Method and Description
    --- | ---
    `MemtableAllocator` | HeapPool.`newAllocator()`
    `abstract MemtableAllocator` | MemtablePool.`newAllocator()`
    `MemtableAllocator` | SlabPool.`newAllocator()`

Copyright © 2014 The Apache Software Foundation