http://git-wip-us.apache.org/repos/asf/hbase-site/blob/07e68d46/devapidocs/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html index 11ace4c..1abbd30 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":9,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre><a href="../../../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -public class <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.100">BucketCache</a> +public class <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.103">BucketCache</a> extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a>, <a href="../../../../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></pre> <div class="block">BucketCache uses <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket"><code>BucketAllocator</code></a> to allocate/free blocks, and uses @@ -193,6 +193,16 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#ACCEPT_FACTOR_CONFIG_NAME">ACCEPT_FACTOR_CONFIG_NAME</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#acceptableFactor">acceptableFactor</a></span></code> +<div class="block">Acceptable size of cache (no evictions if size < acceptable)</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#accessCount">accessCount</a></span></code> <div class="block">Cache access count (sequential ID)</div> @@ -257,19 +267,19 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#DEFAULT_FREE_ENTIRE_BLOCK_FACTOR">DEFAULT_FREE_ENTIRE_BLOCK_FACTOR</a></span></code> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>private static float</code></td> +<td class="colFirst"><code>(package private) static float</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#DEFAULT_MEMORY_FACTOR">DEFAULT_MEMORY_FACTOR</a></span></code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private static float</code></td> +<td class="colFirst"><code>(package private) static float</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#DEFAULT_MIN_FACTOR">DEFAULT_MIN_FACTOR</a></span></code> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>private static float</code></td> +<td class="colFirst"><code>(package private) static float</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#DEFAULT_MULTI_FACTOR">DEFAULT_MULTI_FACTOR</a></span></code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private static float</code></td> +<td class="colFirst"><code>(package private) static float</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#DEFAULT_SINGLE_FACTOR">DEFAULT_SINGLE_FACTOR</a></span></code> <div class="block">Priority buckets</div> </td> @@ -287,6 +297,16 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#deserialiserMap">deserialiserMap</a></span></code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#EXTRA_FREE_FACTOR_CONFIG_NAME">EXTRA_FREE_FACTOR_CONFIG_NAME</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#extraFreeFactor">extraFreeFactor</a></span></code> +<div class="block">Free this floating point factor of extra blocks when evicting.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>private boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#freeInProgress">freeInProgress</a></span></code> <div class="block">Volatile boolean to track if free space is in process or not</div> @@ -319,6 +339,36 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#LOG">LOG</a></span></code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#MEMORY_FACTOR_CONFIG_NAME">MEMORY_FACTOR_CONFIG_NAME</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#memoryFactor">memoryFactor</a></span></code> +<div class="block">In-memory bucket size</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#MIN_FACTOR_CONFIG_NAME">MIN_FACTOR_CONFIG_NAME</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#minFactor">minFactor</a></span></code> +<div class="block">Minimum threshold of cache (when evicting, evict until size < min)</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#MULTI_FACTOR_CONFIG_NAME">MULTI_FACTOR_CONFIG_NAME</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#multiFactor">multiFactor</a></span></code> +<div class="block">Multiple access bucket size</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>(package private) <a href="../../../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.html" title="class in org.apache.hadoop.hbase.util">IdReadWriteLock</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#offsetLock">offsetLock</a></span></code> <div class="block">A ReentrantReadWriteLock to lock on a particular block identified by offset.</div> @@ -343,6 +393,18 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#SINGLE_FACTOR_CONFIG_NAME">SINGLE_FACTOR_CONFIG_NAME</a></span></code> +<div class="block">Priority buckets config</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#singleFactor">singleFactor</a></span></code> +<div class="block">Single access bucket size</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>private static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#statThreadPeriod">statThreadPeriod</a></span></code> <div class="block">Statistics thread</div> @@ -386,14 +448,15 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> persistencePath)</code> </td> </tr> <tr class="rowColor"> -<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#BucketCache-java.lang.String-long-int-int:A-int-int-java.lang.String-int-">BucketCache</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#BucketCache-java.lang.String-long-int-int:A-int-int-java.lang.String-int-org.apache.hadoop.conf.Configuration-">BucketCache</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, long capacity, int blockSize, int[] bucketSizes, int writerThreadNum, int writerQLen, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> persistencePath, - int ioErrorsTolerationDuration)</code> </td> + int ioErrorsTolerationDuration, + org.apache.hadoop.conf.Configuration conf)</code> </td> </tr> </table> </li> @@ -423,7 +486,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <tr id="i2" class="altColor"> <td class="colFirst"><code>private int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#bucketSizesAboveThresholdCount-float-">bucketSizesAboveThresholdCount</a></span>(float minFactor)</code> -<div class="block">Return the count of bucketSizeinfos still needf ree space</div> +<div class="block">Return the count of bucketSizeinfos still need free space</div> </td> </tr> <tr id="i3" class="rowColor"> @@ -506,10 +569,14 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC </td> </tr> <tr id="i15" class="rowColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getAcceptableFactor--">getAcceptableFactor</a></span>()</code> </td> +</tr> +<tr id="i16" class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketAllocator</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getAllocator--">getAllocator</a></span>()</code> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getBlock-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-boolean-boolean-boolean-">getBlock</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> key, boolean caching, @@ -518,33 +585,37 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <div class="block">Get the buffer of the block with the specified key.</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getBlockCaches--">getBlockCaches</a></span>()</code> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getBlockCount--">getBlockCount</a></span>()</code> <div class="block">Returns the number of blocks currently cached in the block cache.</div> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getCurrentSize--">getCurrentSize</a></span>()</code> <div class="block">Returns the occupied size of the block cache, in bytes.</div> </td> </tr> -<tr id="i20" class="altColor"> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getExtraFreeFactor--">getExtraFreeFactor</a></span>()</code> </td> +</tr> +<tr id="i22" class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getFreeSize--">getFreeSize</a></span>()</code> <div class="block">Returns the free size of the block cache, in bytes.</div> </td> </tr> -<tr id="i21" class="rowColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getIoEngine--">getIoEngine</a></span>()</code> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">IOEngine</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getIOEngineFromName-java.lang.String-long-java.lang.String-">getIOEngineFromName</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, long capacity, @@ -552,11 +623,27 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <div class="block">Get the IOEngine from the IO engine name</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i25" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getMaxSize--">getMaxSize</a></span>()</code> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i26" class="altColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getMemoryFactor--">getMemoryFactor</a></span>()</code> </td> +</tr> +<tr id="i27" class="rowColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getMinFactor--">getMinFactor</a></span>()</code> </td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getMultiFactor--">getMultiFactor</a></span>()</code> </td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code>(package private) long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getPartitionSize-float-">getPartitionSize</a></span>(float partitionFactor)</code> </td> +</tr> +<tr id="i30" class="altColor"> <td class="colFirst"><code>(package private) static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getRAMQueueEntries-java.util.concurrent.BlockingQueue-java.util.List-">getRAMQueueEntries</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent">BlockingQueue</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>> q, <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>> receptacle)</code> @@ -564,57 +651,53 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC before returning.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i31" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getRealCacheSize--">getRealCacheSize</a></span>()</code> </td> </tr> -<tr id="i26" class="altColor"> +<tr id="i32" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getRefCount-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-">getRefCount</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</code> </td> </tr> -<tr id="i27" class="rowColor"> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code>(package private) float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getSingleFactor--">getSingleFactor</a></span>()</code> </td> +</tr> +<tr id="i34" class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/CacheStats.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheStats</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#getStats--">getStats</a></span>()</code> <div class="block">Get the statistics for this block cache.</div> </td> </tr> -<tr id="i28" class="altColor"> +<tr id="i35" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#heapSize--">heapSize</a></span>()</code> </td> </tr> -<tr id="i29" class="rowColor"> +<tr id="i36" class="altColor"> <td class="colFirst"><code>(package private) boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#isCacheEnabled--">isCacheEnabled</a></span>()</code> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i37" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/CachedBlock.html" title="interface in org.apache.hadoop.hbase.io.hfile">CachedBlock</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#iterator--">iterator</a></span>()</code> </td> </tr> -<tr id="i31" class="rowColor"> +<tr id="i38" class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#join--">join</a></span>()</code> </td> </tr> -<tr id="i32" class="altColor"> +<tr id="i39" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#logStats--">logStats</a></span>()</code> </td> </tr> -<tr id="i33" class="rowColor"> -<td class="colFirst"><code>private long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#memorySize--">memorySize</a></span>()</code> </td> -</tr> -<tr id="i34" class="altColor"> -<td class="colFirst"><code>private long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#multiSize--">multiSize</a></span>()</code> </td> -</tr> -<tr id="i35" class="rowColor"> +<tr id="i40" class="altColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#persistToFile--">persistToFile</a></span>()</code> </td> </tr> -<tr id="i36" class="altColor"> +<tr id="i41" class="rowColor"> <td class="colFirst"><code>private void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#retrieveFromFile-int:A-">retrieveFromFile</a></span>(int[] bucketSizes)</code> </td> </tr> -<tr id="i37" class="rowColor"> +<tr id="i42" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#returnBlock-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-org.apache.hadoop.hbase.io.hfile.Cacheable-">returnBlock</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> block)</code> @@ -622,29 +705,29 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC is over.</div> </td> </tr> -<tr id="i38" class="altColor"> +<tr id="i43" class="rowColor"> +<td class="colFirst"><code>private void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#sanityCheckConfigs--">sanityCheckConfigs</a></span>()</code> </td> +</tr> +<tr id="i44" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#shutdown--">shutdown</a></span>()</code> <div class="block">Shutdown the cache.</div> </td> </tr> -<tr id="i39" class="rowColor"> -<td class="colFirst"><code>private long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#singleSize--">singleSize</a></span>()</code> </td> -</tr> -<tr id="i40" class="altColor"> +<tr id="i45" class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#size--">size</a></span>()</code> <div class="block">Returns the total size of the block cache, in bytes.</div> </td> </tr> -<tr id="i41" class="rowColor"> +<tr id="i46" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#startWriterThreads--">startWriterThreads</a></span>()</code> <div class="block">Called by the constructor to start the writer threads.</div> </td> </tr> -<tr id="i42" class="altColor"> +<tr id="i47" class="rowColor"> <td class="colFirst"><code>(package private) void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#stopWriterThreads--">stopWriterThreads</a></span>()</code> <div class="block">Only used in test</div> @@ -685,7 +768,86 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.101">LOG</a></pre> +<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.104">LOG</a></pre> +</li> +</ul> +<a name="SINGLE_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>SINGLE_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.107">SINGLE_FACTOR_CONFIG_NAME</a></pre> +<div class="block">Priority buckets config</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.SINGLE_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="MULTI_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MULTI_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.108">MULTI_FACTOR_CONFIG_NAME</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.MULTI_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="MEMORY_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.109">MEMORY_FACTOR_CONFIG_NAME</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.MEMORY_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="EXTRA_FREE_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>EXTRA_FREE_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.110">EXTRA_FREE_FACTOR_CONFIG_NAME</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.EXTRA_FREE_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="ACCEPT_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ACCEPT_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.111">ACCEPT_FACTOR_CONFIG_NAME</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.ACCEPT_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> +</li> +</ul> +<a name="MIN_FACTOR_CONFIG_NAME"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MIN_FACTOR_CONFIG_NAME</h4> +<pre>static final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.112">MIN_FACTOR_CONFIG_NAME</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.MIN_FACTOR_CONFIG_NAME">Constant Field Values</a></dd> +</dl> </li> </ul> <a name="DEFAULT_SINGLE_FACTOR"> @@ -694,7 +856,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_SINGLE_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.104">DEFAULT_SINGLE_FACTOR</a></pre> +<pre>static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.116">DEFAULT_SINGLE_FACTOR</a></pre> <div class="block">Priority buckets</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> @@ -708,7 +870,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_MULTI_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.105">DEFAULT_MULTI_FACTOR</a></pre> +<pre>static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.117">DEFAULT_MULTI_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_MULTI_FACTOR">Constant Field Values</a></dd> @@ -721,49 +883,49 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_MEMORY_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.106">DEFAULT_MEMORY_FACTOR</a></pre> +<pre>static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.118">DEFAULT_MEMORY_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_MEMORY_FACTOR">Constant Field Values</a></dd> </dl> </li> </ul> -<a name="DEFAULT_EXTRA_FREE_FACTOR"> +<a name="DEFAULT_MIN_FACTOR"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>DEFAULT_EXTRA_FREE_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.107">DEFAULT_EXTRA_FREE_FACTOR</a></pre> +<h4>DEFAULT_MIN_FACTOR</h4> +<pre>static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.119">DEFAULT_MIN_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_EXTRA_FREE_FACTOR">Constant Field Values</a></dd> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_MIN_FACTOR">Constant Field Values</a></dd> </dl> </li> </ul> -<a name="DEFAULT_ACCEPT_FACTOR"> +<a name="DEFAULT_EXTRA_FREE_FACTOR"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>DEFAULT_ACCEPT_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.109">DEFAULT_ACCEPT_FACTOR</a></pre> +<h4>DEFAULT_EXTRA_FREE_FACTOR</h4> +<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.121">DEFAULT_EXTRA_FREE_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_ACCEPT_FACTOR">Constant Field Values</a></dd> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_EXTRA_FREE_FACTOR">Constant Field Values</a></dd> </dl> </li> </ul> -<a name="DEFAULT_MIN_FACTOR"> +<a name="DEFAULT_ACCEPT_FACTOR"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>DEFAULT_MIN_FACTOR</h4> -<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.110">DEFAULT_MIN_FACTOR</a></pre> +<h4>DEFAULT_ACCEPT_FACTOR</h4> +<pre>private static final float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.122">DEFAULT_ACCEPT_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_MIN_FACTOR">Constant Field Values</a></dd> +<dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_ACCEPT_FACTOR">Constant Field Values</a></dd> </dl> </li> </ul> @@ -773,7 +935,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_FREE_ENTIRE_BLOCK_FACTOR</h4> -<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.113">DEFAULT_FREE_ENTIRE_BLOCK_FACTOR</a></pre> +<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.125">DEFAULT_FREE_ENTIRE_BLOCK_FACTOR</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_FREE_ENTIRE_BLOCK_FACTOR">Constant Field Values</a></dd> @@ -786,7 +948,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>statThreadPeriod</h4> -<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.116">statThreadPeriod</a></pre> +<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.128">statThreadPeriod</a></pre> <div class="block">Statistics thread</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> @@ -800,7 +962,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_WRITER_THREADS</h4> -<pre>static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.118">DEFAULT_WRITER_THREADS</a></pre> +<pre>static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.130">DEFAULT_WRITER_THREADS</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_WRITER_THREADS">Constant Field Values</a></dd> @@ -813,7 +975,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_WRITER_QUEUE_ITEMS</h4> -<pre>static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.119">DEFAULT_WRITER_QUEUE_ITEMS</a></pre> +<pre>static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.131">DEFAULT_WRITER_QUEUE_ITEMS</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_WRITER_QUEUE_ITEMS">Constant Field Values</a></dd> @@ -826,7 +988,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>ioEngine</h4> -<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">IOEngine</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.122">ioEngine</a></pre> +<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">IOEngine</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.134">ioEngine</a></pre> </li> </ul> <a name="ramCache"> @@ -835,7 +997,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>ramCache</h4> -<pre>final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>,<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.126">ramCache</a></pre> +<pre>final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>,<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.138">ramCache</a></pre> </li> </ul> <a name="backingMap"> @@ -844,7 +1006,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>backingMap</h4> -<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>,<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.BucketEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.BucketEntry</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.129">backingMap</a></pre> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>,<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.BucketEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.BucketEntry</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.141">backingMap</a></pre> </li> </ul> <a name="cacheEnabled"> @@ -853,7 +1015,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheEnabled</h4> -<pre>private volatile boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.136">cacheEnabled</a></pre> +<pre>private volatile boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.148">cacheEnabled</a></pre> <div class="block">Flag if the cache is enabled or not... We shut it off if there are IO errors for some time, so that Bucket IO exceptions/errors don't bring down the HBase server.</div> @@ -865,7 +1027,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>writerQueues</h4> -<pre>final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent">BlockingQueue</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.146">writerQueues</a></pre> +<pre>final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent">BlockingQueue</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a>>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.158">writerQueues</a></pre> <div class="block">A list of writer queues. We have a queue per <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.WriterThread.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket"><code>BucketCache.WriterThread</code></a> we have running. In other words, the work adding blocks to the BucketCache is divided up amongst the running WriterThreads. Its done by taking hash of the cache key modulo queue count. @@ -879,7 +1041,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>writerThreads</h4> -<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.WriterThread.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.WriterThread</a>[] <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.148">writerThreads</a></pre> +<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.WriterThread.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.WriterThread</a>[] <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.160">writerThreads</a></pre> </li> </ul> <a name="freeInProgress"> @@ -888,7 +1050,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>freeInProgress</h4> -<pre>private volatile boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.151">freeInProgress</a></pre> +<pre>private volatile boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.163">freeInProgress</a></pre> <div class="block">Volatile boolean to track if free space is in process or not</div> </li> </ul> @@ -898,7 +1060,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>freeSpaceLock</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true" title="class or interface in java.util.concurrent.locks">Lock</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.152">freeSpaceLock</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true" title="class or interface in java.util.concurrent.locks">Lock</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.164">freeSpaceLock</a></pre> </li> </ul> <a name="deserialiserMap"> @@ -907,7 +1069,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>deserialiserMap</h4> -<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/UniqueIndexMap.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">UniqueIndexMap</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.154">deserialiserMap</a></pre> +<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/UniqueIndexMap.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">UniqueIndexMap</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.166">deserialiserMap</a></pre> </li> </ul> <a name="realCacheSize"> @@ -916,7 +1078,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>realCacheSize</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.156">realCacheSize</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.168">realCacheSize</a></pre> </li> </ul> <a name="heapSize"> @@ -925,7 +1087,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>heapSize</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.157">heapSize</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.169">heapSize</a></pre> </li> </ul> <a name="blockNumber"> @@ -934,7 +1096,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>blockNumber</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.159">blockNumber</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.171">blockNumber</a></pre> <div class="block">Current number of cached elements</div> </li> </ul> @@ -944,7 +1106,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>accessCount</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.162">accessCount</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.174">accessCount</a></pre> <div class="block">Cache access count (sequential ID)</div> </li> </ul> @@ -954,7 +1116,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_WAIT_TIME</h4> -<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.164">DEFAULT_CACHE_WAIT_TIME</a></pre> +<pre>private static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.176">DEFAULT_CACHE_WAIT_TIME</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_CACHE_WAIT_TIME">Constant Field Values</a></dd> @@ -967,7 +1129,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>wait_when_cache</h4> -<pre>boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.168">wait_when_cache</a></pre> +<pre>boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.180">wait_when_cache</a></pre> </li> </ul> <a name="cacheStats"> @@ -976,7 +1138,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheStats</h4> -<pre>private final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCacheStats.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCacheStats</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.170">cacheStats</a></pre> +<pre>private final <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCacheStats.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCacheStats</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.182">cacheStats</a></pre> </li> </ul> <a name="persistencePath"> @@ -985,7 +1147,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>persistencePath</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.172">persistencePath</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.184">persistencePath</a></pre> </li> </ul> <a name="cacheCapacity"> @@ -994,7 +1156,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheCapacity</h4> -<pre>private final long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.173">cacheCapacity</a></pre> +<pre>private final long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.185">cacheCapacity</a></pre> </li> </ul> <a name="blockSize"> @@ -1003,7 +1165,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>blockSize</h4> -<pre>private final long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.175">blockSize</a></pre> +<pre>private final long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.187">blockSize</a></pre> <div class="block">Approximate block size</div> </li> </ul> @@ -1013,7 +1175,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>ioErrorsTolerationDuration</h4> -<pre>private final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.178">ioErrorsTolerationDuration</a></pre> +<pre>private final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.190">ioErrorsTolerationDuration</a></pre> <div class="block">Duration of IO errors tolerated before we disable cache, 1 min as default</div> </li> </ul> @@ -1023,7 +1185,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_ERROR_TOLERATION_DURATION</h4> -<pre>public static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.180">DEFAULT_ERROR_TOLERATION_DURATION</a></pre> +<pre>public static final int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.192">DEFAULT_ERROR_TOLERATION_DURATION</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.DEFAULT_ERROR_TOLERATION_DURATION">Constant Field Values</a></dd> @@ -1036,7 +1198,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>ioErrorStartTime</h4> -<pre>private volatile long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.184">ioErrorStartTime</a></pre> +<pre>private volatile long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.196">ioErrorStartTime</a></pre> </li> </ul> <a name="offsetLock"> @@ -1045,7 +1207,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>offsetLock</h4> -<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.html" title="class in org.apache.hadoop.hbase.util">IdReadWriteLock</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.193">offsetLock</a></pre> +<pre>final <a href="../../../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.html" title="class in org.apache.hadoop.hbase.util">IdReadWriteLock</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.205">offsetLock</a></pre> <div class="block">A ReentrantReadWriteLock to lock on a particular block identified by offset. The purpose of this is to avoid freeing the block which is being read. <p> @@ -1058,7 +1220,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>blocksByHFile</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true" title="class or interface in java.util">NavigableSet</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.195">blocksByHFile</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true" title="class or interface in java.util">NavigableSet</a><<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a>> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.207">blocksByHFile</a></pre> </li> </ul> <a name="scheduleThreadPool"> @@ -1067,17 +1229,77 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>scheduleThreadPool</h4> -<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ScheduledExecutorService</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.214">scheduleThreadPool</a></pre> +<pre>private final <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ScheduledExecutorService</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.226">scheduleThreadPool</a></pre> <div class="block">Statistics thread schedule pool (for heavy debugging, could remove)</div> </li> </ul> <a name="bucketAllocator"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>bucketAllocator</h4> -<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketAllocator</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.218">bucketAllocator</a></pre> +<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketAllocator</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.230">bucketAllocator</a></pre> +</li> +</ul> +<a name="acceptableFactor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>acceptableFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.233">acceptableFactor</a></pre> +<div class="block">Acceptable size of cache (no evictions if size < acceptable)</div> +</li> +</ul> +<a name="minFactor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.236">minFactor</a></pre> +<div class="block">Minimum threshold of cache (when evicting, evict until size < min)</div> +</li> +</ul> +<a name="extraFreeFactor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>extraFreeFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.239">extraFreeFactor</a></pre> +<div class="block">Free this floating point factor of extra blocks when evicting. For example free the number of blocks requested * (1 + extraFreeFactor)</div> +</li> +</ul> +<a name="singleFactor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>singleFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.242">singleFactor</a></pre> +<div class="block">Single access bucket size</div> +</li> +</ul> +<a name="multiFactor"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>multiFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.245">multiFactor</a></pre> +<div class="block">Multiple access bucket size</div> +</li> +</ul> +<a name="memoryFactor"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>memoryFactor</h4> +<pre>private float <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.248">memoryFactor</a></pre> +<div class="block">In-memory bucket size</div> </li> </ul> </li> @@ -1094,7 +1316,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>BucketCache</h4> -<pre>public <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.220">BucketCache</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, +<pre>public <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.250">BucketCache</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, long capacity, int blockSize, int[] bucketSizes, @@ -1110,20 +1332,21 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC </dl> </li> </ul> -<a name="BucketCache-java.lang.String-long-int-int:A-int-int-java.lang.String-int-"> +<a name="BucketCache-java.lang.String-long-int-int:A-int-int-java.lang.String-int-org.apache.hadoop.conf.Configuration-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>BucketCache</h4> -<pre>public <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.227">BucketCache</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, +<pre>public <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.257">BucketCache</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, long capacity, int blockSize, int[] bucketSizes, int writerThreadNum, int writerQLen, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> persistencePath, - int ioErrorsTolerationDuration) + int ioErrorsTolerationDuration, + org.apache.hadoop.conf.Configuration conf) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> @@ -1141,13 +1364,22 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <!-- --> </a> <h3>Method Detail</h3> +<a name="sanityCheckConfigs--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>sanityCheckConfigs</h4> +<pre>private void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.328">sanityCheckConfigs</a>()</pre> +</li> +</ul> <a name="startWriterThreads--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>startWriterThreads</h4> -<pre>protected void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.289">startWriterThreads</a>()</pre> +<pre>protected void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.345">startWriterThreads</a>()</pre> <div class="block">Called by the constructor to start the writer threads. Used by tests that need to override starting the threads.</div> </li> @@ -1158,7 +1390,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>isCacheEnabled</h4> -<pre>boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.296">isCacheEnabled</a>()</pre> +<pre>boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.352">isCacheEnabled</a>()</pre> </li> </ul> <a name="getMaxSize--"> @@ -1167,7 +1399,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>getMaxSize</h4> -<pre>public long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.300">getMaxSize</a>()</pre> +<pre>public long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.356">getMaxSize</a>()</pre> </li> </ul> <a name="getIoEngine--"> @@ -1176,7 +1408,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>getIoEngine</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.304">getIoEngine</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.360">getIoEngine</a>()</pre> </li> </ul> <a name="getIOEngineFromName-java.lang.String-long-java.lang.String-"> @@ -1185,7 +1417,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>getIOEngineFromName</h4> -<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">IOEngine</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.316">getIOEngineFromName</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, +<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html" title="interface in org.apache.hadoop.hbase.io.hfile.bucket">IOEngine</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.372">getIOEngineFromName</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ioEngineName, long capacity, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> persistencePath) throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1208,7 +1440,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheBlock</h4> -<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.343">cacheBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, +<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.399">cacheBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> buf)</pre> <div class="block">Cache the block with the specified name and buffer.</div> <dl> @@ -1226,7 +1458,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheBlock</h4> -<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.355">cacheBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, +<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.411">cacheBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> cachedItem, boolean inMemory, boolean cacheDataInL1)</pre> @@ -1248,7 +1480,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>cacheBlockWithWait</h4> -<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.367">cacheBlockWithWait</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, +<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.423">cacheBlockWithWait</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> cachedItem, boolean inMemory, boolean wait)</pre> @@ -1268,7 +1500,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>getBlock</h4> -<pre>public <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.417">getBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> key, +<pre>public <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/Cacheable.html" title="interface in org.apache.hadoop.hbase.io.hfile">Cacheable</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.473">getBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> key, boolean caching, boolean repeat, boolean updateCacheMetrics)</pre> @@ -1292,7 +1524,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>blockEvicted</h4> -<pre>void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.476">blockEvicted</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, +<pre>void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.532">blockEvicted</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.BucketEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.BucketEntry</a> bucketEntry, boolean decrementBlockNumber)</pre> </li> @@ -1303,7 +1535,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>evictBlock</h4> -<pre>public boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.486">evictBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> +<pre>public boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.542">evictBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html#evictBlock-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-">BlockCache</a></code></span></div> <div class="block">Evict block from cache.</div> <dl> @@ -1322,7 +1554,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>forceEvict</h4> -<pre>private boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.492">forceEvict</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> +<pre>private boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.548">forceEvict</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> </li> </ul> <a name="checkRamCache-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-"> @@ -1331,7 +1563,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>checkRamCache</h4> -<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.521">checkRamCache</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> +<pre>private <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.RAMQueueEntry.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache.RAMQueueEntry</a> <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.577">checkRamCache</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey)</pre> </li> </ul> <a name="evictBlock-org.apache.hadoop.hbase.io.hfile.BlockCacheKey-boolean-"> @@ -1340,7 +1572,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>evictBlock</h4> -<pre>public boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.530">evictBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, +<pre>public boolean <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.586">evictBlock</a>(<a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCacheKey.html" title="class in org.apache.hadoop.hbase.io.hfile">BlockCacheKey</a> cacheKey, boolean deletedBlock)</pre> </li> </ul> @@ -1350,7 +1582,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>logStats</h4> -<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.595">logStats</a>()</pre> +<pre>public void <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.651">logStats</a>()</pre> </li> </ul> <a name="getRealCacheSize--"> @@ -1359,7 +1591,7 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>getRealCacheSize</h4> -<pre>public long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.621">getRealCacheSize</a>()</pre> +<pre>public long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.677">getRealCacheSize</a>()</pre> </li> </ul> <a name="acceptableSize--"> @@ -1368,34 +1600,16 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>acceptableSize</h4> -<pre>private long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.625">acceptableSize</a>()</pre> +<pre>private long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.681">acceptableSize</a>()</pre> </li> </ul> -<a name="singleSize--"> +<a name="getPartitionSize-float-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>singleSize</h4> -<pre>private long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.629">singleSize</a>()</pre> -</li> -</ul> -<a name="multiSize--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>multiSize</h4> -<pre>private long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.634">multiSize</a>()</pre> -</li> -</ul> -<a name="memorySize--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>memorySize</h4> -<pre>private long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.639">memorySize</a>()</pre> +<h4>getPartitionSize</h4> +<pre>long <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.686">getPartitionSize</a>(float partitionFactor)</pre> </li> </ul> <a name="bucketSizesAboveThresholdCount-float-"> @@ -1404,8 +1618,8 @@ implements <a href="../../../../../../../org/apache/hadoop/hbase/io/hfile/BlockC <ul class="blockList"> <li class="blockList"> <h4>bucketSizesAboveThresholdCount</h4> -<pre>private int <a href="../../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html#line.647">bucketSizesAboveThresholdCount</a>(float minFactor)</pre> -<div class="block">Return
<TRUNCATED>