public class ChunkCreator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChunkCreator.ChunkType
Types of chunks, based on their sizes
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZEOF_CHUNK_HEADER |
| Modifier and Type | Method and Description |
|---|---|
static ChunkCreator |
initialize(int chunkSize,
boolean offheap,
long globalMemStoreSize,
float poolSizePercentage,
float initialCountPercentage,
HeapMemoryManager heapMemoryManager)
Initializes the instance of ChunkCreator
|
public static ChunkCreator initialize(int chunkSize, boolean offheap, long globalMemStoreSize, float poolSizePercentage, float initialCountPercentage, HeapMemoryManager heapMemoryManager)
chunkSize - the chunkSizeoffheap - indicates if the chunk is to be created offheap or notglobalMemStoreSize - the global memstore sizepoolSizePercentage - pool size percentageinitialCountPercentage - the initial count of the chunk pool if anyheapMemoryManager - the heapmemory manager