@InterfaceAudience.Private public class ChunkCreator extends 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 |
getInstance() |
static ChunkCreator |
initialize(int chunkSize,
boolean offheap,
long globalMemStoreSize,
float poolSizePercentage,
float initialCountPercentage,
HeapMemoryManager heapMemoryManager)
Initializes the instance of ChunkCreator
|
public static final int SIZEOF_CHUNK_HEADER
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 managerpublic static ChunkCreator getInstance()
Copyright © 2007–2019 Cloudera. All rights reserved.