http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f8b8424/devapidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html index e249ca2..95ef789 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/CacheConfig.html @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":10,"i2":9,"i3":9,"i4":10,"i5":9,"i6":9,"i7":10,"i8":9,"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}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +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}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheableDeserializerIdManager.html" title="class in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.ExternalBlockCaches.html" title="enum in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CachedBlock.html" title="interface in org.apache.hadoop.hbase.io.hfile"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/hfile/CacheConfig.html" target="_top">Frames</a></li> @@ -74,7 +74,7 @@ var activeTableTab = "activeTableTab"; <div> <ul class="subNavList"> <li>Summary: </li> -<li><a href="#nested.class.summary">Nested</a> | </li> +<li>Nested | </li> <li><a href="#field.summary">Field</a> | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> @@ -107,14 +107,10 @@ var activeTableTab = "activeTableTab"; <div class="description"> <ul class="blockList"> <li class="blockList"> -<dl> -<dt>Direct Known Subclasses:</dt> -<dd><a href="../../../../../../org/apache/hadoop/hbase/mob/MobCacheConfig.html" title="class in org.apache.hadoop.hbase.mob">MobCacheConfig</a></dd> -</dl> <hr> <br> <pre>@InterfaceAudience.Private -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.44">CacheConfig</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.35">CacheConfig</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">Stores all of the cache objects and configuration for a single HFile.</div> </li> @@ -123,27 +119,6 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="summary"> <ul class="blockList"> <li class="blockList"> -<!-- ======== NESTED CLASS SUMMARY ======== --> -<ul class="blockList"> -<li class="blockList"><a name="nested.class.summary"> -<!-- --> -</a> -<h3>Nested Class Summary</h3> -<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> -<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Class and Description</th> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>private static class </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.ExternalBlockCaches.html" title="enum in org.apache.hadoop.hbase.io.hfile">CacheConfig.ExternalBlockCaches</a></span></code> -<div class="block">Enum of all built in external block caches.</div> -</td> -</tr> -</table> -</li> -</ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> @@ -158,42 +133,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </tr> <tr class="altColor"> <td class="colFirst"><code>private <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/CacheConfig.html#blockCache">blockCache</a></span></code> -<div class="block">Local reference to the block cache, null if completely disabled</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static <a href="https://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/CacheConfig.html#BLOCKCACHE_BLOCKSIZE_KEY">BLOCKCACHE_BLOCKSIZE_KEY</a></span></code> -<div class="block">The target block size used by blockcache instances.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>(package private) static boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#blockCacheDisabled">blockCacheDisabled</a></span></code> -<div class="block">Boolean whether we have disabled the block cache entirely.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static <a href="https://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/CacheConfig.html#BUCKET_CACHE_BUCKETS_KEY">BUCKET_CACHE_BUCKETS_KEY</a></span></code> -<div class="block">A comma-delimited array of values for use as bucket sizes.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static <a href="https://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/CacheConfig.html#BUCKET_CACHE_PERSISTENT_PATH_KEY">BUCKET_CACHE_PERSISTENT_PATH_KEY</a></span></code> -<div class="block">If the chosen ioengine can persist its state across restarts, the path to the file to persist - to.</div> -</td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>static <a href="https://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/CacheConfig.html#BUCKET_CACHE_WRITER_QUEUE_KEY">BUCKET_CACHE_WRITER_QUEUE_KEY</a></span></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static <a href="https://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/CacheConfig.html#BUCKET_CACHE_WRITER_THREADS_KEY">BUCKET_CACHE_WRITER_THREADS_KEY</a></span></code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#blockCache">blockCache</a></span></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="https://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> @@ -258,16 +198,6 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>static int</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#DEFAULT_BUCKET_CACHE_WRITER_QUEUE">DEFAULT_BUCKET_CACHE_WRITER_QUEUE</a></span></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static int</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#DEFAULT_BUCKET_CACHE_WRITER_THREADS">DEFAULT_BUCKET_CACHE_WRITER_THREADS</a></span></code> -<div class="block">Defaults for Bucket cache</div> -</td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#DEFAULT_CACHE_BLOOMS_ON_WRITE">DEFAULT_CACHE_BLOOMS_ON_WRITE</a></span></code> </td> </tr> @@ -306,11 +236,11 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>private static boolean</code></td> +<td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#DROP_BEHIND_CACHE_COMPACTION_DEFAULT">DROP_BEHIND_CACHE_COMPACTION_DEFAULT</a></span></code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private static <a href="https://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="colFirst"><code>static <a href="https://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/CacheConfig.html#DROP_BEHIND_CACHE_COMPACTION_KEY">DROP_BEHIND_CACHE_COMPACTION_KEY</a></span></code> </td> </tr> <tr class="altColor"> @@ -331,42 +261,15 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>private static <a href="https://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/CacheConfig.html#EXTERNAL_BLOCKCACHE_CLASS_KEY">EXTERNAL_BLOCKCACHE_CLASS_KEY</a></span></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>private static boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#EXTERNAL_BLOCKCACHE_DEFAULT">EXTERNAL_BLOCKCACHE_DEFAULT</a></span></code> </td> -</tr> -<tr class="rowColor"> -<td class="colFirst"><code>private static <a href="https://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/CacheConfig.html#EXTERNAL_BLOCKCACHE_KEY">EXTERNAL_BLOCKCACHE_KEY</a></span></code> </td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>(package private) static <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/CacheConfig.html#GLOBAL_BLOCK_CACHE_INSTANCE">GLOBAL_BLOCK_CACHE_INSTANCE</a></span></code> -<div class="block">Static reference to the block cache, or null if no caching should be used - at all.</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/CacheConfig.html#inMemory">inMemory</a></span></code> <div class="block">Whether blocks should be flagged as in-memory when being cached</div> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>private static <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/CacheConfig.html#L2_CACHE_INSTANCE">L2_CACHE_INSTANCE</a></span></code> </td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>private static org.slf4j.Logger</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#LOG">LOG</a></span></code> </td> </tr> -<tr class="altColor"> -<td class="colFirst"><code>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#ONHEAP_CACHE_INSTANCE">ONHEAP_CACHE_INSTANCE</a></span></code> </td> -</tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="https://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/CacheConfig.html#PREFETCH_BLOCKS_ON_OPEN_KEY">PREFETCH_BLOCKS_ON_OPEN_KEY</a></span></code> @@ -400,37 +303,28 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig--">CacheConfig</a></span>()</code> </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>(package private)</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.hbase.io.hfile.BlockCache-boolean-boolean-boolean-boolean-boolean-boolean-boolean-boolean-boolean-">CacheConfig</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache, - boolean cacheDataOnRead, - boolean inMemory, - boolean cacheDataOnWrite, - boolean cacheIndexesOnWrite, - boolean cacheBloomsOnWrite, - boolean evictOnClose, - boolean cacheDataCompressed, - boolean prefetchOnOpen, - boolean dropBehindCompaction)</code> -<div class="block">Create a block cache configuration with the specified cache and configuration parameters.</div> -</td> -</tr> -<tr class="altColor"> <td class="colFirst"><code> </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.hbase.io.hfile.CacheConfig-">CacheConfig</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheConfig</a> cacheConf)</code> <div class="block">Constructs a cache configuration copied from the specified configuration.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code> </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-">CacheConfig</a></span>(org.apache.hadoop.conf.Configuration conf)</code> <div class="block">Create a cache configuration using the specified configuration object and defaults for family level settings.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code> </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.io.hfile.BlockCache-">CacheConfig</a></span>(org.apache.hadoop.conf.Configuration conf, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code> </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-">CacheConfig</a></span>(org.apache.hadoop.conf.Configuration conf, - <a href="../../../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a> family)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-org.apache.hadoop.hbase.io.hfile.BlockCache-">CacheConfig</a></span>(org.apache.hadoop.conf.Configuration conf, + <a href="../../../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a> family, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache)</code> <div class="block">Create a cache configuration using the specified configuration object and family descriptor.</div> </td> @@ -445,74 +339,32 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> -<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<td class="colFirst"><code>(package private) static void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#clearGlobalInstances--">clearGlobalInstances</a></span>()</code> </td> -</tr> -<tr id="i1" class="rowColor"> -<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="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<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/CacheConfig.html#getBlockCache--">getBlockCache</a></span>()</code> <div class="block">Returns the block cache.</div> </td> </tr> -<tr id="i2" class="altColor"> -<td class="colFirst"><code>(package private) static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#getBucketCache-org.apache.hadoop.conf.Configuration-">getBucketCache</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> -</tr> -<tr id="i3" class="rowColor"> -<td class="colFirst"><code>private static <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/CacheConfig.html#getExternalBlockcache-org.apache.hadoop.conf.Configuration-">getExternalBlockcache</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> -</tr> -<tr id="i4" 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/CacheConfig.html#getL2CacheStats--">getL2CacheStats</a></span>()</code> </td> -</tr> -<tr id="i5" class="rowColor"> -<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#getOnHeapCache-org.apache.hadoop.conf.Configuration-">getOnHeapCache</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> -</tr> -<tr id="i6" class="altColor"> -<td class="colFirst"><code>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#getOnHeapCacheInternal-org.apache.hadoop.conf.Configuration-">getOnHeapCacheInternal</a></span>(org.apache.hadoop.conf.Configuration c)</code> </td> -</tr> -<tr id="i7" class="rowColor"> -<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/CacheConfig.html#getOnHeapCacheStats--">getOnHeapCacheStats</a></span>()</code> </td> -</tr> -<tr id="i8" class="altColor"> -<td class="colFirst"><code>static <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/CacheConfig.html#instantiateBlockCache-org.apache.hadoop.conf.Configuration-">instantiateBlockCache</a></span>(org.apache.hadoop.conf.Configuration conf)</code> -<div class="block">Returns the block cache or <code>null</code> in case none should be used.</div> -</td> -</tr> -<tr id="i9" class="rowColor"> -<td class="colFirst"><code>boolean</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#isBlockCacheEnabled--">isBlockCacheEnabled</a></span>()</code> -<div class="block">Checks whether the block cache is enabled.</div> -</td> -</tr> -<tr id="i10" class="altColor"> +<tr id="i1" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#isInMemory--">isInMemory</a></span>()</code> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i2" class="altColor"> <td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#setCacheDataOnWrite-boolean-">setCacheDataOnWrite</a></span>(boolean cacheDataOnWrite)</code> -<div class="block">Only used for testing.</div> -</td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#setCacheDataOnWrite-boolean-">setCacheDataOnWrite</a></span>(boolean cacheDataOnWrite)</code> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#setEvictOnClose-boolean-">setEvictOnClose</a></span>(boolean evictOnClose)</code> <div class="block">Only used for testing.</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i4" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheBlockOnRead-org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory-">shouldCacheBlockOnRead</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</code> <div class="block">Should we cache a block of a particular category? We always cache @@ -520,59 +372,59 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html available.</div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheBloomsOnWrite--">shouldCacheBloomsOnWrite</a></span>()</code> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i6" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheCompressed-org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory-">shouldCacheCompressed</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</code> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheDataCompressed--">shouldCacheDataCompressed</a></span>()</code> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheDataOnRead--">shouldCacheDataOnRead</a></span>()</code> <div class="block">Returns whether the DATA blocks of this HFile should be cached on read or not (we always cache the meta blocks, the INDEX and BLOOM blocks).</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheDataOnWrite--">shouldCacheDataOnWrite</a></span>()</code> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldCacheIndexesOnWrite--">shouldCacheIndexesOnWrite</a></span>()</code> </td> </tr> -<tr id="i20" class="altColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldDropBehindCompaction--">shouldDropBehindCompaction</a></span>()</code> </td> </tr> -<tr id="i21" class="rowColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldEvictOnClose--">shouldEvictOnClose</a></span>()</code> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldLockOnCacheMiss-org.apache.hadoop.hbase.io.hfile.BlockType-">shouldLockOnCacheMiss</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</code> <div class="block">If we make sure the block could not be cached, we will not acquire the lock otherwise we will acquire lock</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldPrefetchOnOpen--">shouldPrefetchOnOpen</a></span>()</code> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#shouldReadBlockFromCache-org.apache.hadoop.hbase.io.hfile.BlockType-">shouldReadBlockFromCache</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</code> <div class="block">Return true if we may find this type of block in block cache.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code><a href="https://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/CacheConfig.html#toString--">toString</a></span>()</code> </td> </tr> @@ -604,7 +456,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.45">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.36">LOG</a></pre> </li> </ul> <a name="DISABLED"> @@ -613,7 +465,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DISABLED</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheConfig</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.51">DISABLED</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheConfig</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.41">DISABLED</a></pre> <div class="block">Disabled cache configuration</div> </li> </ul> @@ -623,7 +475,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CACHE_DATA_ON_READ_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.57">CACHE_DATA_ON_READ_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.47">CACHE_DATA_ON_READ_KEY</a></pre> <div class="block">Configuration key to cache data blocks on read. Bloom blocks and index blocks are always be cached if the block cache is enabled.</div> <dl> @@ -638,7 +490,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CACHE_BLOCKS_ON_WRITE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.63">CACHE_BLOCKS_ON_WRITE_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.53">CACHE_BLOCKS_ON_WRITE_KEY</a></pre> <div class="block">Configuration key to cache data blocks on write. There are separate switches for bloom blocks and non-root index blocks.</div> <dl> @@ -653,7 +505,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CACHE_INDEX_BLOCKS_ON_WRITE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.70">CACHE_INDEX_BLOCKS_ON_WRITE_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.59">CACHE_INDEX_BLOCKS_ON_WRITE_KEY</a></pre> <div class="block">Configuration key to cache leaf and intermediate-level index blocks on write.</div> <dl> @@ -668,7 +520,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CACHE_BLOOM_BLOCKS_ON_WRITE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.76">CACHE_BLOOM_BLOCKS_ON_WRITE_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.64">CACHE_BLOOM_BLOCKS_ON_WRITE_KEY</a></pre> <div class="block">Configuration key to cache compound bloom filter blocks on write.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> @@ -682,7 +534,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CACHE_DATA_BLOCKS_COMPRESSED_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.82">CACHE_DATA_BLOCKS_COMPRESSED_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.69">CACHE_DATA_BLOCKS_COMPRESSED_KEY</a></pre> <div class="block">Configuration key to cache data blocks in compressed and/or encrypted format.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> @@ -696,7 +548,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>EVICT_BLOCKS_ON_CLOSE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.89">EVICT_BLOCKS_ON_CLOSE_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.75">EVICT_BLOCKS_ON_CLOSE_KEY</a></pre> <div class="block">Configuration key to evict all blocks of a given file from the block cache when the file is closed.</div> <dl> @@ -705,101 +557,13 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </dl> </li> </ul> -<a name="BUCKET_CACHE_PERSISTENT_PATH_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BUCKET_CACHE_PERSISTENT_PATH_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.106">BUCKET_CACHE_PERSISTENT_PATH_KEY</a></pre> -<div class="block">If the chosen ioengine can persist its state across restarts, the path to the file to persist - to. This file is NOT the data file. It is a file into which we will serialize the map of - what is in the data file. For example, if you pass the following argument as - BUCKET_CACHE_IOENGINE_KEY ("hbase.bucketcache.ioengine"), - <code>file:/tmp/bucketcache.data </code>, then we will write the bucketcache data to the file - <code>/tmp/bucketcache.data</code> but the metadata on where the data is in the supplied file - is an in-memory map that needs to be persisted across restarts. Where to store this - in-memory state is what you supply here: e.g. <code>/tmp/bucketcache.map</code>.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.BUCKET_CACHE_PERSISTENT_PATH_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="BUCKET_CACHE_WRITER_THREADS_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BUCKET_CACHE_WRITER_THREADS_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.109">BUCKET_CACHE_WRITER_THREADS_KEY</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.BUCKET_CACHE_WRITER_THREADS_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="BUCKET_CACHE_WRITER_QUEUE_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BUCKET_CACHE_WRITER_QUEUE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.110">BUCKET_CACHE_WRITER_QUEUE_KEY</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.BUCKET_CACHE_WRITER_QUEUE_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="BUCKET_CACHE_BUCKETS_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BUCKET_CACHE_BUCKETS_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.116">BUCKET_CACHE_BUCKETS_KEY</a></pre> -<div class="block">A comma-delimited array of values for use as bucket sizes.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.BUCKET_CACHE_BUCKETS_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="DEFAULT_BUCKET_CACHE_WRITER_THREADS"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>DEFAULT_BUCKET_CACHE_WRITER_THREADS</h4> -<pre>public static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.121">DEFAULT_BUCKET_CACHE_WRITER_THREADS</a></pre> -<div class="block">Defaults for Bucket cache</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_BUCKET_CACHE_WRITER_THREADS">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="DEFAULT_BUCKET_CACHE_WRITER_QUEUE"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>DEFAULT_BUCKET_CACHE_WRITER_QUEUE</h4> -<pre>public static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.122">DEFAULT_BUCKET_CACHE_WRITER_QUEUE</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_BUCKET_CACHE_WRITER_QUEUE">Constant Field Values</a></dd> -</dl> -</li> -</ul> <a name="PREFETCH_BLOCKS_ON_OPEN_KEY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>PREFETCH_BLOCKS_ON_OPEN_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.128">PREFETCH_BLOCKS_ON_OPEN_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.81">PREFETCH_BLOCKS_ON_OPEN_KEY</a></pre> <div class="block">Configuration key to prefetch all blocks of a given file into the block cache when the file is opened.</div> <dl> @@ -808,95 +572,26 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </dl> </li> </ul> -<a name="BLOCKCACHE_BLOCKSIZE_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>BLOCKCACHE_BLOCKSIZE_KEY</h4> -<pre>public static final <a href="https://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/CacheConfig.html#line.137">BLOCKCACHE_BLOCKSIZE_KEY</a></pre> -<div class="block">The target block size used by blockcache instances. Defaults to - <a href="../../../../../../org/apache/hadoop/hbase/HConstants.html#DEFAULT_BLOCKSIZE"><code>HConstants.DEFAULT_BLOCKSIZE</code></a>. - TODO: this config point is completely wrong, as it's used to determine the - target block size of BlockCache instances. Rename.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.BLOCKCACHE_BLOCKSIZE_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="EXTERNAL_BLOCKCACHE_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>EXTERNAL_BLOCKCACHE_KEY</h4> -<pre>private static final <a href="https://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/CacheConfig.html#line.139">EXTERNAL_BLOCKCACHE_KEY</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.EXTERNAL_BLOCKCACHE_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="EXTERNAL_BLOCKCACHE_DEFAULT"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>EXTERNAL_BLOCKCACHE_DEFAULT</h4> -<pre>private static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.140">EXTERNAL_BLOCKCACHE_DEFAULT</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.EXTERNAL_BLOCKCACHE_DEFAULT">Constant Field Values</a></dd> -</dl> -</li> -</ul> -<a name="EXTERNAL_BLOCKCACHE_CLASS_KEY"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>EXTERNAL_BLOCKCACHE_CLASS_KEY</h4> -<pre>private static final <a href="https://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/CacheConfig.html#line.142">EXTERNAL_BLOCKCACHE_CLASS_KEY</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.EXTERNAL_BLOCKCACHE_CLASS_KEY">Constant Field Values</a></dd> -</dl> -</li> -</ul> <a name="DROP_BEHIND_CACHE_COMPACTION_KEY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DROP_BEHIND_CACHE_COMPACTION_KEY</h4> -<pre>private static final <a href="https://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/CacheConfig.html#line.143">DROP_BEHIND_CACHE_COMPACTION_KEY</a></pre> +<pre>public static final <a href="https://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/CacheConfig.html#line.83">DROP_BEHIND_CACHE_COMPACTION_KEY</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DROP_BEHIND_CACHE_COMPACTION_KEY">Constant Field Values</a></dd> </dl> </li> </ul> -<a name="DROP_BEHIND_CACHE_COMPACTION_DEFAULT"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>DROP_BEHIND_CACHE_COMPACTION_DEFAULT</h4> -<pre>private static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.145">DROP_BEHIND_CACHE_COMPACTION_DEFAULT</a></pre> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DROP_BEHIND_CACHE_COMPACTION_DEFAULT">Constant Field Values</a></dd> -</dl> -</li> -</ul> <a name="DEFAULT_CACHE_DATA_ON_READ"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_DATA_ON_READ</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.168">DEFAULT_CACHE_DATA_ON_READ</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.87">DEFAULT_CACHE_DATA_ON_READ</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_CACHE_DATA_ON_READ">Constant Field Values</a></dd> @@ -909,7 +604,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_DATA_ON_WRITE</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.169">DEFAULT_CACHE_DATA_ON_WRITE</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.88">DEFAULT_CACHE_DATA_ON_WRITE</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_CACHE_DATA_ON_WRITE">Constant Field Values</a></dd> @@ -922,7 +617,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_IN_MEMORY</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.170">DEFAULT_IN_MEMORY</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.89">DEFAULT_IN_MEMORY</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_IN_MEMORY">Constant Field Values</a></dd> @@ -935,7 +630,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_INDEXES_ON_WRITE</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.171">DEFAULT_CACHE_INDEXES_ON_WRITE</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.90">DEFAULT_CACHE_INDEXES_ON_WRITE</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_CACHE_INDEXES_ON_WRITE">Constant Field Values</a></dd> @@ -948,7 +643,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_BLOOMS_ON_WRITE</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.172">DEFAULT_CACHE_BLOOMS_ON_WRITE</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.91">DEFAULT_CACHE_BLOOMS_ON_WRITE</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_CACHE_BLOOMS_ON_WRITE">Constant Field Values</a></dd> @@ -961,7 +656,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_EVICT_ON_CLOSE</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.173">DEFAULT_EVICT_ON_CLOSE</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.92">DEFAULT_EVICT_ON_CLOSE</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_EVICT_ON_CLOSE">Constant Field Values</a></dd> @@ -974,7 +669,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_CACHE_DATA_COMPRESSED</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.174">DEFAULT_CACHE_DATA_COMPRESSED</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.93">DEFAULT_CACHE_DATA_COMPRESSED</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_CACHE_DATA_COMPRESSED">Constant Field Values</a></dd> @@ -987,21 +682,24 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_PREFETCH_ON_OPEN</h4> -<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.175">DEFAULT_PREFETCH_ON_OPEN</a></pre> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.94">DEFAULT_PREFETCH_ON_OPEN</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DEFAULT_PREFETCH_ON_OPEN">Constant Field Values</a></dd> </dl> </li> </ul> -<a name="blockCache"> +<a name="DROP_BEHIND_CACHE_COMPACTION_DEFAULT"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>blockCache</h4> -<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.178">blockCache</a></pre> -<div class="block">Local reference to the block cache, null if completely disabled</div> +<h4>DROP_BEHIND_CACHE_COMPACTION_DEFAULT</h4> +<pre>public static final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.95">DROP_BEHIND_CACHE_COMPACTION_DEFAULT</a></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.hfile.CacheConfig.DROP_BEHIND_CACHE_COMPACTION_DEFAULT">Constant Field Values</a></dd> +</dl> </li> </ul> <a name="cacheDataOnRead"> @@ -1010,7 +708,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>cacheDataOnRead</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.186">cacheDataOnRead</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.103">cacheDataOnRead</a></pre> <div class="block">Whether blocks should be cached on read (default is on if there is a cache but this can be turned off on a per-family or per-request basis). If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. @@ -1023,7 +721,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>inMemory</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.189">inMemory</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.106">inMemory</a></pre> <div class="block">Whether blocks should be flagged as in-memory when being cached</div> </li> </ul> @@ -1033,7 +731,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>cacheDataOnWrite</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.192">cacheDataOnWrite</a></pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.109">cacheDataOnWrite</a></pre> <div class="block">Whether data blocks should be cached when new files are written</div> </li> </ul> @@ -1043,7 +741,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>cacheIndexesOnWrite</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.195">cacheIndexesOnWrite</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.112">cacheIndexesOnWrite</a></pre> <div class="block">Whether index blocks should be cached when new files are written</div> </li> </ul> @@ -1053,7 +751,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>cacheBloomsOnWrite</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.198">cacheBloomsOnWrite</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.115">cacheBloomsOnWrite</a></pre> <div class="block">Whether compound bloom filter blocks should be cached on write</div> </li> </ul> @@ -1063,7 +761,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>evictOnClose</h4> -<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.201">evictOnClose</a></pre> +<pre>private boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.118">evictOnClose</a></pre> <div class="block">Whether blocks of a file should be evicted when the file is closed</div> </li> </ul> @@ -1073,7 +771,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>cacheDataCompressed</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.204">cacheDataCompressed</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.121">cacheDataCompressed</a></pre> <div class="block">Whether data blocks should be stored in compressed and/or encrypted form in the cache</div> </li> </ul> @@ -1083,7 +781,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>prefetchOnOpen</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.207">prefetchOnOpen</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.124">prefetchOnOpen</a></pre> <div class="block">Whether data blocks should be prefetched into the cache</div> </li> </ul> @@ -1093,46 +791,16 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>dropBehindCompaction</h4> -<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.209">dropBehindCompaction</a></pre> -</li> -</ul> -<a name="GLOBAL_BLOCK_CACHE_INSTANCE"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>GLOBAL_BLOCK_CACHE_INSTANCE</h4> -<pre>static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.505">GLOBAL_BLOCK_CACHE_INSTANCE</a></pre> -<div class="block">Static reference to the block cache, or null if no caching should be used - at all.</div> -</li> -</ul> -<a name="ONHEAP_CACHE_INSTANCE"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>ONHEAP_CACHE_INSTANCE</h4> -<pre>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.506">ONHEAP_CACHE_INSTANCE</a></pre> -</li> -</ul> -<a name="L2_CACHE_INSTANCE"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>L2_CACHE_INSTANCE</h4> -<pre>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.507">L2_CACHE_INSTANCE</a></pre> +<pre>private final boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.126">dropBehindCompaction</a></pre> </li> </ul> -<a name="blockCacheDisabled"> +<a name="blockCache"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> -<h4>blockCacheDisabled</h4> -<pre>static boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.511">blockCacheDisabled</a></pre> -<div class="block">Boolean whether we have disabled the block cache entirely.</div> +<h4>blockCache</h4> +<pre>private final <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.129">blockCache</a></pre> </li> </ul> </li> @@ -1143,72 +811,46 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <!-- --> </a> <h3>Constructor Detail</h3> -<a name="CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-"> +<a name="CacheConfig-org.apache.hadoop.conf.Configuration-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CacheConfig</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.217">CacheConfig</a>(org.apache.hadoop.conf.Configuration conf, - <a href="../../../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a> family)</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.136">CacheConfig</a>(org.apache.hadoop.conf.Configuration conf)</pre> <div class="block">Create a cache configuration using the specified configuration object and - family descriptor.</div> + defaults for family level settings. Only use if no column family context.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>conf</code> - hbase configuration</dd> -<dd><code>family</code> - column family configuration</dd> </dl> </li> </ul> -<a name="CacheConfig-org.apache.hadoop.conf.Configuration-"> +<a name="CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.io.hfile.BlockCache-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CacheConfig</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.247">CacheConfig</a>(org.apache.hadoop.conf.Configuration conf)</pre> -<div class="block">Create a cache configuration using the specified configuration object and - defaults for family level settings. Only use if no column family context. Prefer - <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-"><code>CacheConfig(Configuration, ColumnFamilyDescriptor)</code></a></div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>conf</code> - hbase configuration</dd> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html#CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-"><code>CacheConfig(Configuration, ColumnFamilyDescriptor)</code></a></dd> -</dl> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.140">CacheConfig</a>(org.apache.hadoop.conf.Configuration conf, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache)</pre> </li> </ul> -<a name="CacheConfig-org.apache.hadoop.hbase.io.hfile.BlockCache-boolean-boolean-boolean-boolean-boolean-boolean-boolean-boolean-boolean-"> +<a name="CacheConfig-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.client.ColumnFamilyDescriptor-org.apache.hadoop.hbase.io.hfile.BlockCache-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CacheConfig</h4> -<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.278">CacheConfig</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache, - boolean cacheDataOnRead, - boolean inMemory, - boolean cacheDataOnWrite, - boolean cacheIndexesOnWrite, - boolean cacheBloomsOnWrite, - boolean evictOnClose, - boolean cacheDataCompressed, - boolean prefetchOnOpen, - boolean dropBehindCompaction)</pre> -<div class="block">Create a block cache configuration with the specified cache and configuration parameters.</div> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.150">CacheConfig</a>(org.apache.hadoop.conf.Configuration conf, + <a href="../../../../../../org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.html" title="interface in org.apache.hadoop.hbase.client">ColumnFamilyDescriptor</a> family, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> blockCache)</pre> +<div class="block">Create a cache configuration using the specified configuration object and + family descriptor.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>blockCache</code> - reference to block cache, null if completely disabled</dd> -<dd><code>cacheDataOnRead</code> - whether DATA blocks should be cached on read (we always cache INDEX - blocks and BLOOM blocks; this cannot be disabled).</dd> -<dd><code>inMemory</code> - whether blocks should be flagged as in-memory</dd> -<dd><code>cacheDataOnWrite</code> - whether data blocks should be cached on write</dd> -<dd><code>cacheIndexesOnWrite</code> - whether index blocks should be cached on write</dd> -<dd><code>cacheBloomsOnWrite</code> - whether blooms should be cached on write</dd> -<dd><code>evictOnClose</code> - whether blocks should be evicted when HFile is closed</dd> -<dd><code>cacheDataCompressed</code> - whether to store blocks as compressed in the cache</dd> -<dd><code>prefetchOnOpen</code> - whether to prefetch blocks upon open</dd> -<dd><code>dropBehindCompaction</code> - indicate that we should set drop behind to true when open a store - file reader for compaction</dd> +<dd><code>conf</code> - hbase configuration</dd> +<dd><code>family</code> - column family configuration</dd> </dl> </li> </ul> @@ -1218,7 +860,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CacheConfig</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.300">CacheConfig</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheConfig</a> cacheConf)</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.182">CacheConfig</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheConfig</a> cacheConf)</pre> <div class="block">Constructs a cache configuration copied from the specified configuration.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1232,7 +874,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockListLast"> <li class="blockList"> <h4>CacheConfig</h4> -<pre>private <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.308">CacheConfig</a>()</pre> +<pre>private <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.195">CacheConfig</a>()</pre> </li> </ul> </li> @@ -1243,37 +885,13 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <!-- --> </a> <h3>Method Detail</h3> -<a name="isBlockCacheEnabled--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>isBlockCacheEnabled</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.315">isBlockCacheEnabled</a>()</pre> -<div class="block">Checks whether the block cache is enabled.</div> -</li> -</ul> -<a name="getBlockCache--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getBlockCache</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.323">getBlockCache</a>()</pre> -<div class="block">Returns the block cache.</div> -<dl> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the block cache, or null if caching is completely disabled</dd> -</dl> -</li> -</ul> <a name="shouldCacheDataOnRead--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>shouldCacheDataOnRead</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.332">shouldCacheDataOnRead</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.213">shouldCacheDataOnRead</a>()</pre> <div class="block">Returns whether the DATA blocks of this HFile should be cached on read or not (we always cache the meta blocks, the INDEX and BLOOM blocks).</div> <dl> @@ -1288,7 +906,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldDropBehindCompaction</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.336">shouldDropBehindCompaction</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.217">shouldDropBehindCompaction</a>()</pre> </li> </ul> <a name="shouldCacheBlockOnRead-org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory-"> @@ -1297,7 +915,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheBlockOnRead</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.345">shouldCacheBlockOnRead</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.226">shouldCacheBlockOnRead</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</pre> <div class="block">Should we cache a block of a particular category? We always cache important blocks such as index blocks, as long as the block cache is available.</div> @@ -1309,7 +927,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>isInMemory</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.358">isInMemory</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.234">isInMemory</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if blocks in this file should be flagged as in-memory</dd> @@ -1322,7 +940,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheDataOnWrite</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.366">shouldCacheDataOnWrite</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.242">shouldCacheDataOnWrite</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if data blocks should be written to the cache when an HFile is @@ -1336,8 +954,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>setCacheDataOnWrite</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.376">setCacheDataOnWrite</a>(boolean cacheDataOnWrite)</pre> -<div class="block">Only used for testing.</div> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.251">setCacheDataOnWrite</a>(boolean cacheDataOnWrite)</pre> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>cacheDataOnWrite</code> - whether data blocks should be written to the cache @@ -1351,7 +968,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheIndexesOnWrite</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.384">shouldCacheIndexesOnWrite</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.259">shouldCacheIndexesOnWrite</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if index blocks should be written to the cache when an HFile @@ -1365,7 +982,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheBloomsOnWrite</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.392">shouldCacheBloomsOnWrite</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.267">shouldCacheBloomsOnWrite</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if bloom blocks should be written to the cache when an HFile @@ -1379,7 +996,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldEvictOnClose</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.400">shouldEvictOnClose</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.275">shouldEvictOnClose</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if blocks should be evicted from the cache when an HFile @@ -1393,7 +1010,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>setEvictOnClose</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.409">setEvictOnClose</a>(boolean evictOnClose)</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.285">setEvictOnClose</a>(boolean evictOnClose)</pre> <div class="block">Only used for testing.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1408,7 +1025,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheDataCompressed</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.416">shouldCacheDataCompressed</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.292">shouldCacheDataCompressed</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if data blocks should be compressed in the cache, false if not</dd> @@ -1421,7 +1038,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldCacheCompressed</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.423">shouldCacheCompressed</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.299">shouldCacheCompressed</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType.BlockCategory</a> category)</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if this <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.BlockCategory.html" title="enum in org.apache.hadoop.hbase.io.hfile"><code>BlockType.BlockCategory</code></a> should be compressed in blockcache, false otherwise</dd> @@ -1434,7 +1051,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldPrefetchOnOpen</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.436">shouldPrefetchOnOpen</a>()</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.311">shouldPrefetchOnOpen</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if blocks should be prefetched into the cache on open, false if not</dd> @@ -1447,7 +1064,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldReadBlockFromCache</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.448">shouldReadBlockFromCache</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.323">shouldReadBlockFromCache</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</pre> <div class="block">Return true if we may find this type of block in block cache. <p> TODO: today <code>family.isBlockCacheEnabled()</code> only means <code>cacheDataOnRead</code>, so here we @@ -1462,116 +1079,38 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>shouldLockOnCacheMiss</h4> -<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.475">shouldLockOnCacheMiss</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</pre> +<pre>public boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.347">shouldLockOnCacheMiss</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html" title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> blockType)</pre> <div class="block">If we make sure the block could not be cached, we will not acquire the lock otherwise we will acquire lock</div> </li> </ul> -<a name="toString--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>toString</h4> -<pre>public <a href="https://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/CacheConfig.html#line.483">toString</a>()</pre> -<dl> -<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> -<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> -</dl> -</li> -</ul> -<a name="getOnHeapCache-org.apache.hadoop.conf.Configuration-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getOnHeapCache</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.517">getOnHeapCache</a>(org.apache.hadoop.conf.Configuration c)</pre> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - Configuration to use.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>An L1 instance. Currently an instance of LruBlockCache.</dd> -</dl> -</li> -</ul> -<a name="getOnHeapCacheStats--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getOnHeapCacheStats</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheStats.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheStats</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.521">getOnHeapCacheStats</a>()</pre> -</li> -</ul> -<a name="getL2CacheStats--"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getL2CacheStats</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheStats.html" title="class in org.apache.hadoop.hbase.io.hfile">CacheStats</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.528">getL2CacheStats</a>()</pre> -</li> -</ul> -<a name="getOnHeapCacheInternal-org.apache.hadoop.conf.Configuration-"> +<a name="getBlockCache--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>getOnHeapCacheInternal</h4> -<pre>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/LruBlockCache.html" title="class in org.apache.hadoop.hbase.io.hfile">LruBlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.539">getOnHeapCacheInternal</a>(org.apache.hadoop.conf.Configuration c)</pre> +<h4>getBlockCache</h4> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.359">getBlockCache</a>()</pre> +<div class="block">Returns the block cache.</div> <dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>c</code> - Configuration to use.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>An L1 instance. Currently an instance of LruBlockCache.</dd> +<dd>the block cache, or null if caching is completely disabled</dd> </dl> </li> </ul> -<a name="getExternalBlockcache-org.apache.hadoop.conf.Configuration-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getExternalBlockcache</h4> -<pre>private static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockCache.html" title="interface in org.apache.hadoop.hbase.io.hfile">BlockCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.555">getExternalBlockcache</a>(org.apache.hadoop.conf.Configuration c)</pre> -</li> -</ul> -<a name="getBucketCache-org.apache.hadoop.conf.Configuration-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getBucketCache</h4> -<pre>static <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.html" title="class in org.apache.hadoop.hbase.io.hfile.bucket">BucketCache</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/CacheConfig.html#line.585">getBucketCache</a>(org.apache.hadoop.conf.Configuration c)</pre> -</li> -</ul> -<a name="instantiateBlockCache-org.apache.hadoop.conf.Configuration-"> +<a na
<TRUNCATED>