@InterfaceAudience.Private public class ImmutableMemStoreLAB extends Object implements MemStoreLAB
copyCellInto(Cell) throws ExceptionCHUNK_POOL_INITIALSIZE_KEY, CHUNK_POOL_MAXSIZE_KEY, CHUNK_SIZE_DEFAULT, CHUNK_SIZE_KEY, MAX_ALLOC_DEFAULT, MAX_ALLOC_KEY, MSLAB_CLASS_NAME, POOL_INITIAL_SIZE_DEFAULT, POOL_MAX_SIZE_DEFAULT, USEMSLAB_DEFAULT, USEMSLAB_KEY| Constructor and Description |
|---|
ImmutableMemStoreLAB(List<MemStoreLAB> mslabs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close instance since it won't be used any more, try to put the chunks back to pool
|
Cell |
copyCellInto(Cell cell)
Allocates slice in this LAB and copy the passed Cell into this area.
|
void |
decScannerCount()
Called when closing a scanner on the data of this MemStoreLAB
|
Chunk |
getNewExternalChunk()
Return a new empty chunk without considering this chunk as current
The space on this chunk will be allocated externally
|
void |
incScannerCount()
Called when opening a scanner on the data of this MemStoreLAB
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEnabled, newInstancepublic ImmutableMemStoreLAB(List<MemStoreLAB> mslabs)
public Cell copyCellInto(Cell cell)
MemStoreLABcopyCellInto in interface MemStoreLABpublic Chunk getNewExternalChunk()
MemStoreLABgetNewExternalChunk in interface MemStoreLABpublic void close()
MemStoreLABclose in interface MemStoreLABpublic void incScannerCount()
MemStoreLABincScannerCount in interface MemStoreLABpublic void decScannerCount()
MemStoreLABdecScannerCount in interface MemStoreLABCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.