org.apache.hadoop.hbase.regionserver
Class MemStoreChunkPool
java.lang.Object
org.apache.hadoop.hbase.regionserver.MemStoreChunkPool
@InterfaceAudience.Private
public class MemStoreChunkPool
- extends Object
A pool of MemStoreLAB.Chunk
instances.
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
getPool(Configuration)
getChunk()
is called when MemStoreLAB allocating
bytes, and putbackChunks(BlockingQueue)
is called
when MemStore clearing snapshot for flush
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright © 2015 The Apache Software Foundation. All rights reserved.