@InterfaceAudience.Private public class OnheapChunk extends Chunk
allocCount, data, nextFreeOffset, OOM, size, UNINITIALIZED
Constructor and Description |
---|
OnheapChunk(int size,
int id,
ChunkCreator.ChunkType chunkType) |
OnheapChunk(int size,
int id,
ChunkCreator.ChunkType chunkType,
boolean fromPool) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
allocateDataBuffer() |
alloc, getChunkType, getData, getId, getNextFreeOffset, init, isDataChunk, isFromPool, isIndexChunk, isJumbo, reset, toString
OnheapChunk(int size, int id, ChunkCreator.ChunkType chunkType)
OnheapChunk(int size, int id, ChunkCreator.ChunkType chunkType, boolean fromPool)
void allocateDataBuffer()
allocateDataBuffer
in class Chunk
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.