| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>MemStoreLAB (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.hadoop.hbase.regionserver, interface: MemStoreLAB"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/MemStoreLAB.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.hadoop.hbase.regionserver</a></div> |
| <h1 title="Interface MemStoreLAB" class="title">Interface MemStoreLAB</h1> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="ImmutableMemStoreLAB.html" title="class in org.apache.hadoop.hbase.regionserver">ImmutableMemStoreLAB</a></code>, <code><a href="MemStoreLABImpl.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreLABImpl</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Private |
| </span><span class="modifiers">public interface </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-46">MemStoreLAB</a></span></div> |
| <div class="block">A memstore-local allocation buffer. |
| <p> |
| The MemStoreLAB is basically a bump-the-pointer allocator that allocates big (2MB) chunks from |
| and then doles it out to threads that request slices into the array. These chunks can get pooled |
| as well. See <a href="ChunkCreator.html" title="class in org.apache.hadoop.hbase.regionserver"><code>ChunkCreator</code></a>. |
| <p> |
| The purpose of this is to combat heap fragmentation in the regionserver. By ensuring that all |
| Cells in a given memstore refer only to large chunks of contiguous memory, we ensure that large |
| blocks get freed up when the memstore is flushed. |
| <p> |
| Without the MSLAB, the byte array allocated during insertion end up interleaved throughout the |
| heap, and the old generation gets progressively more fragmented until a stop-the-world compacting |
| collection occurs. |
| <p> |
| This manages the large sized chunks. When Cells are to be added to Memstore, MemStoreLAB's |
| <a href="#copyCellInto(org.apache.hadoop.hbase.ExtendedCell)"><code>copyCellInto(ExtendedCell)</code></a> gets called. This allocates enough size in the chunk to hold |
| this cell's data and copies into this area and then recreate a Cell over this copied data. |
| <p></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="ChunkCreator.html" title="class in org.apache.hadoop.hbase.regionserver"><code>ChunkCreator</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#CHUNK_POOL_INITIALSIZE_KEY" class="member-name-link">CHUNK_POOL_INITIALSIZE_KEY</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#CHUNK_POOL_MAXSIZE_KEY" class="member-name-link">CHUNK_POOL_MAXSIZE_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#CHUNK_SIZE_DEFAULT" class="member-name-link">CHUNK_SIZE_DEFAULT</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#CHUNK_SIZE_KEY" class="member-name-link">CHUNK_SIZE_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final float</code></div> |
| <div class="col-second even-row-color"><code><a href="#INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT" class="member-name-link">INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#INDEX_CHUNK_SIZE_PERCENTAGE_KEY" class="member-name-link">INDEX_CHUNK_SIZE_PERCENTAGE_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#MAX_ALLOC_DEFAULT" class="member-name-link">MAX_ALLOC_DEFAULT</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#MAX_ALLOC_KEY" class="member-name-link">MAX_ALLOC_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#MSLAB_CLASS_NAME" class="member-name-link">MSLAB_CLASS_NAME</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final float</code></div> |
| <div class="col-second odd-row-color"><code><a href="#POOL_INITIAL_SIZE_DEFAULT" class="member-name-link">POOL_INITIAL_SIZE_DEFAULT</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final float</code></div> |
| <div class="col-second even-row-color"><code><a href="#POOL_MAX_SIZE_DEFAULT" class="member-name-link">POOL_MAX_SIZE_DEFAULT</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final boolean</code></div> |
| <div class="col-second odd-row-color"><code><a href="#USEMSLAB_DEFAULT" class="member-name-link">USEMSLAB_DEFAULT</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#USEMSLAB_KEY" class="member-name-link">USEMSLAB_KEY</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#close()" class="member-name-link">close</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Close instance since it won't be used any more, try to put the chunks back to pool</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#copyCellInto(org.apache.hadoop.hbase.ExtendedCell)" class="member-name-link">copyCellInto</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Allocates slice in this LAB and copy the passed Cell into this area.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#decScannerCount()" class="member-name-link">decScannerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Called when closing a scanner on the data of this MemStoreLAB</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#forceCopyOfBigCellInto(org.apache.hadoop.hbase.ExtendedCell)" class="member-name-link">forceCopyOfBigCellInto</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Allocates slice in this LAB and copy the passed Cell into this area.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Chunk.html" title="class in org.apache.hadoop.hbase.regionserver">Chunk</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNewExternalChunk(int)" class="member-name-link">getNewExternalChunk</a><wbr>(int size)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Chunk.html" title="class in org.apache.hadoop.hbase.regionserver">Chunk</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNewExternalChunk(org.apache.hadoop.hbase.regionserver.ChunkCreator.ChunkType)" class="member-name-link">getNewExternalChunk</a><wbr>(<a href="ChunkCreator.ChunkType.html" title="enum class in org.apache.hadoop.hbase.regionserver">ChunkCreator.ChunkType</a> chunkType)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#incScannerCount()" class="member-name-link">incScannerCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Called when opening a scanner on the data of this MemStoreLAB</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1"><code>static boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1"><code><a href="#isEnabled(org.apache.hadoop.conf.Configuration)" class="member-name-link">isEnabled</a><wbr>(org.apache.hadoop.conf.Configuration conf)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isOffHeap()" class="member-name-link">isOffHeap</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isOnHeap()" class="member-name-link">isOnHeap</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1"><code>static <a href="MemStoreLAB.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreLAB</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1"><code><a href="#newInstance(org.apache.hadoop.conf.Configuration)" class="member-name-link">newInstance</a><wbr>(org.apache.hadoop.conf.Configuration conf)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1"> </div> |
| </div> |
| </div> |
| </div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="USEMSLAB_KEY"> |
| <h3>USEMSLAB_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-49">USEMSLAB_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.USEMSLAB_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="USEMSLAB_DEFAULT"> |
| <h3>USEMSLAB_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-50">USEMSLAB_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.USEMSLAB_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="MSLAB_CLASS_NAME"> |
| <h3>MSLAB_CLASS_NAME</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-51">MSLAB_CLASS_NAME</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.MSLAB_CLASS_NAME">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CHUNK_SIZE_KEY"> |
| <h3>CHUNK_SIZE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-53">CHUNK_SIZE_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.CHUNK_SIZE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CHUNK_SIZE_DEFAULT"> |
| <h3>CHUNK_SIZE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-54">CHUNK_SIZE_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.CHUNK_SIZE_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="INDEX_CHUNK_SIZE_PERCENTAGE_KEY"> |
| <h3>INDEX_CHUNK_SIZE_PERCENTAGE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-55">INDEX_CHUNK_SIZE_PERCENTAGE_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.INDEX_CHUNK_SIZE_PERCENTAGE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT"> |
| <h3>INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">float</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-56">INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="MAX_ALLOC_KEY"> |
| <h3>MAX_ALLOC_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-57">MAX_ALLOC_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.MAX_ALLOC_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="MAX_ALLOC_DEFAULT"> |
| <h3>MAX_ALLOC_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-58">MAX_ALLOC_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.MAX_ALLOC_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CHUNK_POOL_MAXSIZE_KEY"> |
| <h3>CHUNK_POOL_MAXSIZE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-62">CHUNK_POOL_MAXSIZE_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.CHUNK_POOL_MAXSIZE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="CHUNK_POOL_INITIALSIZE_KEY"> |
| <h3>CHUNK_POOL_INITIALSIZE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-63">CHUNK_POOL_INITIALSIZE_KEY</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.CHUNK_POOL_INITIALSIZE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="POOL_MAX_SIZE_DEFAULT"> |
| <h3>POOL_MAX_SIZE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">float</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-64">POOL_MAX_SIZE_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.POOL_MAX_SIZE_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="POOL_INITIAL_SIZE_DEFAULT"> |
| <h3>POOL_INITIAL_SIZE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">static final</span> <span class="return-type">float</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-65">POOL_INITIAL_SIZE_DEFAULT</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.regionserver.MemStoreLAB.POOL_INITIAL_SIZE_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="copyCellInto(org.apache.hadoop.hbase.ExtendedCell)"> |
| <h3>copyCellInto</h3> |
| <div class="member-signature"><span class="return-type"><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-71">copyCellInto</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</span></div> |
| <div class="block">Allocates slice in this LAB and copy the passed Cell into this area. Returns new Cell instance |
| over the copied the data. When this MemStoreLAB can not copy this Cell, it returns null.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="forceCopyOfBigCellInto(org.apache.hadoop.hbase.ExtendedCell)"> |
| <h3>forceCopyOfBigCellInto</h3> |
| <div class="member-signature"><span class="return-type"><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-81">forceCopyOfBigCellInto</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</span></div> |
| <div class="block">Allocates slice in this LAB and copy the passed Cell into this area. Returns new Cell instance |
| over the copied the data. When this MemStoreLAB can not copy this Cell, it returns null. Since |
| the process of flattening to CellChunkMap assumes all cells are allocated on MSLAB, and since |
| copyCellInto does not copy big cells (for whom size > maxAlloc) into MSLAB, this method is |
| called while the process of flattening to CellChunkMap is running, for forcing the allocation |
| of big cells on this MSLAB.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="close()"> |
| <h3>close</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-86">close</a></span>()</div> |
| <div class="block">Close instance since it won't be used any more, try to put the chunks back to pool</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="incScannerCount()"> |
| <h3>incScannerCount</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-91">incScannerCount</a></span>()</div> |
| <div class="block">Called when opening a scanner on the data of this MemStoreLAB</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="decScannerCount()"> |
| <h3>decScannerCount</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-96">decScannerCount</a></span>()</div> |
| <div class="block">Called when closing a scanner on the data of this MemStoreLAB</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNewExternalChunk(org.apache.hadoop.hbase.regionserver.ChunkCreator.ChunkType)"> |
| <h3>getNewExternalChunk</h3> |
| <div class="member-signature"><span class="return-type"><a href="Chunk.html" title="class in org.apache.hadoop.hbase.regionserver">Chunk</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-103">getNewExternalChunk</a></span><wbr><span class="parameters">(<a href="ChunkCreator.ChunkType.html" title="enum class in org.apache.hadoop.hbase.regionserver">ChunkCreator.ChunkType</a> chunkType)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNewExternalChunk(int)"> |
| <h3>getNewExternalChunk</h3> |
| <div class="member-signature"><span class="return-type"><a href="Chunk.html" title="class in org.apache.hadoop.hbase.regionserver">Chunk</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-110">getNewExternalChunk</a></span><wbr><span class="parameters">(int size)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="newInstance(org.apache.hadoop.conf.Configuration)"> |
| <h3>newInstance</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type"><a href="MemStoreLAB.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreLAB</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-112">newInstance</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isEnabled(org.apache.hadoop.conf.Configuration)"> |
| <h3>isEnabled</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-122">isEnabled</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isOnHeap()"> |
| <h3>isOnHeap</h3> |
| <div class="member-signature"><span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-126">isOnHeap</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isOffHeap()"> |
| <h3>isOffHeap</h3> |
| <div class="member-signature"><span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html#line-128">isOffHeap</a></span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |