Class OnheapChunk
java.lang.Object
org.apache.hadoop.hbase.regionserver.Chunk
org.apache.hadoop.hbase.regionserver.OnheapChunk
An on heap chunk implementation.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.Chunk
allocCount, data, nextFreeOffset, OOM, size, UNINITIALIZED
-
Constructor Summary
ConstructorDescriptionOnheapChunk
(int size, int id, ChunkCreator.ChunkType chunkType) OnheapChunk
(int size, int id, ChunkCreator.ChunkType chunkType, boolean fromPool) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.Chunk
alloc, getChunkType, getData, getId, getNextFreeOffset, init, isDataChunk, isFromPool, isIndexChunk, isJumbo, reset, toString
-
Constructor Details
-
OnheapChunk
OnheapChunk(int size, int id, ChunkCreator.ChunkType chunkType) -
OnheapChunk
OnheapChunk(int size, int id, ChunkCreator.ChunkType chunkType, boolean fromPool)
-
-
Method Details
-
allocateDataBuffer
void allocateDataBuffer()- Specified by:
allocateDataBuffer
in classChunk
-