Uses of Class
org.apache.hadoop.hbase.regionserver.Chunk
-
Uses of Chunk in org.apache.hadoop.hbase.regionserver
Modifier and TypeClassDescriptionclass
An off heap chunk implementation.class
An on heap chunk implementation.Modifier and TypeFieldDescriptionChunkCreator.chunkIdMap
private AtomicReference<Chunk>
MemStoreLABImpl.currChunk
private final BlockingQueue<Chunk>
ChunkCreator.MemStoreChunkPool.reclaimedChunks
Modifier and TypeMethodDescriptionprivate Chunk[]
CellChunkImmutableSegment.allocIndexChunks
(int numOfCells) private Chunk
ChunkCreator.createChunk
(boolean pool, ChunkCreator.ChunkType chunkType, int size) Creates the chunk either onheap or offheapprivate Chunk
ChunkCreator.createChunkForPool
(ChunkCreator.ChunkType chunkType, int chunkSize) (package private) Chunk
ChunkCreator.getChunk()
Creates and inits a data chunk.(package private) Chunk
ChunkCreator.getChunk
(int id) (package private) Chunk
ChunkCreator.getChunk
(ChunkCreator.ChunkType chunkType) Creates and inits a chunk with specific type.(package private) Chunk
ChunkCreator.getChunk
(ChunkCreator.ChunkType chunkType, int size) Creates and inits a chunk.(package private) Chunk
ChunkCreator.MemStoreChunkPool.getChunk()
Poll a chunk from the pool, reset it if not null, else create a new chunk to return if we have not yet created max allowed chunks count.(package private) Chunk
MemStoreLABImpl.getCurrentChunk()
(package private) Chunk
ChunkCreator.getJumboChunk
(int jumboSize) Creates and inits a chunk of a special size, bigger than a regular chunk size.ImmutableMemStoreLAB.getNewExternalChunk
(int size) ImmutableMemStoreLAB.getNewExternalChunk
(ChunkCreator.ChunkType chunkType) MemStoreLAB.getNewExternalChunk
(int size) MemStoreLAB.getNewExternalChunk
(ChunkCreator.ChunkType chunkType) MemStoreLABImpl.getNewExternalChunk
(int size) MemStoreLABImpl.getNewExternalChunk
(ChunkCreator.ChunkType chunkType) private Chunk
MemStoreLABImpl.getOrMakeChunk()
Get the current chunk, or, if there is no current chunk, allocate a new one from the JVM.(package private) Chunk
ChunkCreator.removeChunk
(int chunkId) Modifier and TypeMethodDescription(package private) BlockingQueue<Chunk>
MemStoreLABImpl.getPooledChunks()
Modifier and TypeMethodDescriptionprivate void
ChunkCreator.MemStoreChunkPool.putbackChunks
(Chunk c) Add the chunks to the pool, when the pool achieves the max size, it will skip the remaining chunksprivate void
MemStoreLABImpl.tryRetireChunk
(Chunk c) Try to retire the current chunk if it is stillc
.ModifierConstructorDescriptionCellChunkMap
(Comparator<? super T> comparator, Chunk[] chunks, int min, int max, boolean descending) C-tor for creating CellChunkMap from existing Chunk array, which must be ordered (decreasingly or increasingly according to parameter "descending")