Uses of Class org.apache.cassandra.utils.memory.MemtableAllocator (apache-cassandra API)
Date: 2018-02-12

## 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
    --- | ---
    `org.apache.cassandra.db.AtomicBTreeColumns.ColumnUpdater` | 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
    --- | ---
    `static class` | `HeapPool.Allocator`
    `class` | `MemtableBufferAllocator`
    `class` | `NativeAllocator` This NativeAllocator uses global slab allocation strategy with slab size that scales exponentially from 8kb to 1Mb to serve allocation of up to 128kb.
    `class` | `SlabAllocator` + * The SlabAllocator is a bump-the-pointer allocator that allocates + * large (1MB) global regions and then doles them out to threads that + * request smaller sized (up to 128kb) 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 © 2018 The Apache Software Foundation