| Package | Description |
|---|---|
| org.apache.cassandra.db | |
| org.apache.cassandra.db.partitions | |
| org.apache.cassandra.utils.memory |
| Modifier and Type | Method and Description |
|---|---|
MemtableAllocator |
Memtable.getAllocator() |
| Constructor and Description |
|---|
AtomicBTreePartition(CFMetaData metadata,
DecoratedKey partitionKey,
MemtableAllocator allocator) |
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
MemtableAllocator |
HeapPool.newAllocator() |
abstract MemtableAllocator |
MemtablePool.newAllocator() |
MemtableAllocator |
SlabPool.newAllocator() |
Copyright © 2018 The Apache Software Foundation