@InterfaceAudience.Private public class MemStoreChunkPool extends Object
HeapMemStoreLAB.Chunkinstances. MemStoreChunkPool caches a number of retired chunks for reusing, it could decrease allocating bytes when writing, thereby optimizing the garbage collection on JVM. The pool instance is globally unique and could be obtained through
getChunk()is called when MemStoreLAB allocating bytes, and
putbackChunks(BlockingQueue)is called when MemStore clearing snapshot for flush
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.