Class OffheapChunk
java.lang.Object
org.apache.hadoop.hbase.regionserver.Chunk
org.apache.hadoop.hbase.regionserver.OffheapChunk
An off heap chunk implementation.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.Chunk
allocCount, data, nextFreeOffset, OOM, size, UNINITIALIZED
-
Constructor Summary
ConstructorDescriptionOffheapChunk
(int size, int id, ChunkCreator.ChunkType chunkType) OffheapChunk
(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
-
OffheapChunk
OffheapChunk(int size, int id, ChunkCreator.ChunkType chunkType) -
OffheapChunk
OffheapChunk(int size, int id, ChunkCreator.ChunkType chunkType, boolean fromPool)
-
-
Method Details
-
allocateDataBuffer
void allocateDataBuffer()- Specified by:
allocateDataBuffer
in classChunk
-