Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Field and Description |
---|---|
private BlockingQueue<HeapMemStoreLAB.Chunk> |
HeapMemStoreLAB.chunkQueue |
private AtomicReference<HeapMemStoreLAB.Chunk> |
HeapMemStoreLAB.curChunk |
private BlockingQueue<HeapMemStoreLAB.Chunk> |
MemStoreChunkPool.reclaimedChunks |
Modifier and Type | Method and Description |
---|---|
(package private) HeapMemStoreLAB.Chunk |
MemStoreChunkPool.getChunk()
Poll a chunk from the pool, reset it if not null, else create a new chunk
to return
|
(package private) HeapMemStoreLAB.Chunk |
HeapMemStoreLAB.getCurrentChunk() |
private HeapMemStoreLAB.Chunk |
HeapMemStoreLAB.getOrMakeChunk()
Get the current chunk, or, if there is no current chunk,
allocate a new one from the JVM.
|
Modifier and Type | Method and Description |
---|---|
(package private) BlockingQueue<HeapMemStoreLAB.Chunk> |
HeapMemStoreLAB.getChunkQueue() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MemStoreChunkPool.putbackChunk(HeapMemStoreLAB.Chunk chunk)
Add the chunk to the pool, if the pool has achieved the max size, it will
skip it
|
private void |
HeapMemStoreLAB.tryRetireChunk(HeapMemStoreLAB.Chunk c)
Try to retire the current chunk if it is still
c . |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MemStoreChunkPool.putbackChunks(BlockingQueue<HeapMemStoreLAB.Chunk> chunks)
Add the chunks to the pool, when the pool achieves the max size, it will
skip the remaining chunks
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.