## Uses of Class
org.apache.cassandra.utils.Allocator

- Packages that use Allocator
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.db |
  org.apache.cassandra.db.context |
  org.apache.cassandra.utils |

- - ### Uses of Allocator in org.apache.cassandra.config

    Methods in org.apache.cassandra.config that return Allocator
    Modifier and Type | Method and Description
    --- | ---
    `static Allocator` | DatabaseDescriptor.`getMemtableAllocator()`

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

    Methods in org.apache.cassandra.db with parameters of type Allocator
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractColumnContainer.`addAll(AbstractColumnContainer cc, Allocator allocator)`
    `void` | AbstractColumnContainer.`addAll(AbstractColumnContainer cc, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)`
    `void` | ArrayBackedSortedColumns.`addAll(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)`
    `void` | AtomicSortedColumns.`addAll(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)`
    `void` | ISortedColumns.`addAll(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)` Adds the columns without necessarily computing the size delta
    `void` | ThreadSafeSortedColumns.`addAll(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)` We need to go through each column in the column container and resolve it before adding
    `void` | TreeMapBackedSortedColumns.`addAll(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation)` We need to go through each column in the column container and resolve it before adding
    `void` | ColumnFamily.`addAllWithSCCopy(ColumnFamily cf, Allocator allocator)` Same as addAll() but do a cloneMe of SuperColumn if necessary to avoid keeping references to the structure (see #3957).
    `long` | AbstractColumnContainer.`addAllWithSizeDelta(AbstractColumnContainer cc, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)`
    `long` | ArrayBackedSortedColumns.`addAllWithSizeDelta(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)`
    `long` | AtomicSortedColumns.`addAllWithSizeDelta(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)`
    `long` | ISortedColumns.`addAllWithSizeDelta(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)` Adds all the columns of a given column map to this column map.
    `long` | ThreadSafeSortedColumns.`addAllWithSizeDelta(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)`
    `long` | TreeMapBackedSortedColumns.`addAllWithSizeDelta(ISortedColumns cm, Allocator allocator, com.google.common.base.Function<IColumn,IColumn> transformation, SecondaryIndexManager.Updater indexer)`
    `void` | AbstractColumnContainer.`addColumn(IColumn column, Allocator allocator)`
    `void` | ArrayBackedSortedColumns.`addColumn(IColumn column, Allocator allocator)` AddColumn throws an exception if the column added does not sort after the last column in the map.
    `void` | AtomicSortedColumns.`addColumn(IColumn column, Allocator allocator)`
    `void` | Column.`addColumn(IColumn column, Allocator allocator)`
    `void` | IColumn.`addColumn(IColumn column, Allocator allocator)`
    `void` | IColumnContainer.`addColumn(IColumn column, Allocator allocator)`
    `void` | ISortedColumns.`addColumn(IColumn column, Allocator allocator)` Adds a column to this column map.
    `void` | SuperColumn.`addColumn(IColumn column, Allocator allocator)`
    `void` | ThreadSafeSortedColumns.`addColumn(IColumn column, Allocator allocator)`
    `void` | TreeMapBackedSortedColumns.`addColumn(IColumn column, Allocator allocator)`
    `long` | TreeMapBackedSortedColumns.`addColumn(IColumn column, Allocator allocator, SecondaryIndexManager.Updater indexer)`
    `java.nio.ByteBuffer` | ColumnFamilyStore.`internOrCopy(java.nio.ByteBuffer name, Allocator allocator)`
    `IColumn` | Column.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | CounterColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | CounterUpdateColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | DeletedColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | ExpiringColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | IColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)` clones the column for the memtable, interning column names and making copies of other underlying byte buffers.
    `IColumn` | SuperColumn.`localCopy(ColumnFamilyStore cfs, Allocator allocator)`
    `IColumn` | Column.`reconcile(IColumn column, Allocator allocator)`
    `IColumn` | CounterColumn.`reconcile(IColumn column, Allocator allocator)`
    `IColumn` | CounterUpdateColumn.`reconcile(IColumn column, Allocator allocator)`
    `IColumn` | DeletedColumn.`reconcile(IColumn column, Allocator allocator)`
    `IColumn` | IColumn.`reconcile(IColumn column, Allocator allocator)`
    `IColumn` | SuperColumn.`reconcile(IColumn c, Allocator allocator)`
    `void` | ColumnFamily.`resolve(ColumnFamily cf, Allocator allocator)`

  - ### Uses of Allocator in org.apache.cassandra.db.context

    Methods in org.apache.cassandra.db.context with parameters of type Allocator
    Modifier and Type | Method and Description
    --- | ---
    `static CounterContext.ContextState` | CounterContext.ContextState.`allocate(int elementCount, int deltaCount, Allocator allocator)`
    `java.nio.ByteBuffer` | CounterContext.`create(long value, Allocator allocator)` Creates an initial counter context with an initial value for the local node.
    `java.nio.ByteBuffer` | CounterContext.`merge(java.nio.ByteBuffer left, java.nio.ByteBuffer right, Allocator allocator)` Return a context w/ an aggregated count for each counter id.
    `java.nio.ByteBuffer` | IContext.`merge(java.nio.ByteBuffer left, java.nio.ByteBuffer right, Allocator allocator)` Return a context w/ an aggregated count for each node id.

  - ### Uses of Allocator in org.apache.cassandra.utils

    Subclasses of Allocator in org.apache.cassandra.utils
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HeapAllocator`
    `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.

Copyright © 2014 The Apache Software Foundation