Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Class and Description |
---|---|
class |
OffheapChunk
An off heap chunk implementation.
|
class |
OnheapChunk
An on heap chunk implementation.
|
Modifier and Type | Field and Description |
---|---|
private Chunk[] |
CellChunkMap.chunks |
Modifier and Type | Field and Description |
---|---|
private Map<Integer,Chunk> |
ChunkCreator.chunkIdMap |
private AtomicReference<Chunk> |
MemStoreLABImpl.currChunk |
private BlockingQueue<Chunk> |
ChunkCreator.MemStoreChunkPool.reclaimedChunks |
Modifier and Type | Method and Description |
---|---|
private Chunk[] |
CellChunkImmutableSegment.allocIndexChunks(int numOfCells) |
private Chunk |
ChunkCreator.createChunk(boolean pool,
CompactingMemStore.IndexType chunkIndexType,
int size)
Creates the chunk either onheap or offheap
|
private Chunk |
ChunkCreator.createChunkForPool(CompactingMemStore.IndexType chunkIndexType,
int chunkSize) |
(package private) Chunk |
ChunkCreator.getChunk()
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 |
ChunkCreator.getChunk(ChunkCreator.ChunkType chunkType)
Creates and inits a chunk.
|
(package private) Chunk |
ChunkCreator.getChunk(CompactingMemStore.IndexType chunkIndexType)
Creates and inits a chunk.
|
(package private) Chunk |
ChunkCreator.MemStoreChunkPool.getChunk(CompactingMemStore.IndexType chunkIndexType) |
(package private) Chunk |
ChunkCreator.getChunk(CompactingMemStore.IndexType chunkIndexType,
ChunkCreator.ChunkType chunkType)
Creates and inits a chunk with specific index type and type.
|
(package private) Chunk |
ChunkCreator.getChunk(CompactingMemStore.IndexType chunkIndexType,
int size)
Creates and inits a chunk.
|
(package private) Chunk |
ChunkCreator.getChunk(int id) |
(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.
|
Chunk |
ImmutableMemStoreLAB.getNewExternalChunk(ChunkCreator.ChunkType chunkType) |
Chunk |
MemStoreLAB.getNewExternalChunk(ChunkCreator.ChunkType chunkType) |
Chunk |
MemStoreLABImpl.getNewExternalChunk(ChunkCreator.ChunkType chunkType) |
Chunk |
ImmutableMemStoreLAB.getNewExternalChunk(int size) |
Chunk |
MemStoreLAB.getNewExternalChunk(int size) |
Chunk |
MemStoreLABImpl.getNewExternalChunk(int size) |
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 Type | Method and Description |
---|---|
(package private) BlockingQueue<Chunk> |
MemStoreLABImpl.getPooledChunks() |
Modifier and Type | Method and Description |
---|---|
private void |
ChunkCreator.MemStoreChunkPool.putbackChunks(Chunk c)
Add the chunks to the pool, when the pool achieves the max size, it will skip the remaining
chunks
|
private void |
MemStoreLABImpl.tryRetireChunk(Chunk c)
Try to retire the current chunk if it is still
c . |
Constructor and Description |
---|
CellChunkMap(Comparator<? super Cell> 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")
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.