| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>CompactingMemStore (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, class: CompactingMemStore"> |
| <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/CompactingMemStore.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><a href="#nested-class-summary">Nested</a> | </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> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </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="Class CompactingMemStore" class="title">Class CompactingMemStore</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">org.apache.hadoop.hbase.regionserver.AbstractMemStore</a> |
| <div class="inheritance">org.apache.hadoop.hbase.regionserver.CompactingMemStore</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Closeable.html" title="class or interface in java.io" class="external-link">Closeable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link">AutoCloseable</a></code>, <code><a href="MemStore.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStore</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Private |
| </span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-51">CompactingMemStore</a></span> |
| <span class="extends-implements">extends <a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></span></div> |
| <div class="block">A memstore implementation which supports in-memory compaction. A compaction pipeline is added |
| between the active set and the snapshot data structures; it consists of a list of segments that |
| are subject to compaction. Like the snapshot, all pipeline segments are read-only; updates only |
| affect the active set. To ensure this property we take advantage of the existing blocking |
| mechanism -- the active set is pushed to the pipeline while holding the region's updatesLock in |
| exclusive mode. Periodically, a compaction is applied in the background to all pipeline segments |
| resulting in a single read-only component. The ``old'' segments are discarded when no scanner is |
| reading them.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="caption"><span>Nested Classes</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">Class</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static enum </code></div> |
| <div class="col-second even-row-color"><code><a href="CompactingMemStore.IndexType.html" class="type-name-link" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Types of indexes (part of immutable segments) to be used after flattening, compaction, or merge |
| are applied.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>private class </code></div> |
| <div class="col-second odd-row-color"><code><a href="CompactingMemStore.InMemoryCompactionRunnable.html" class="type-name-link" title="class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.InMemoryCompactionRunnable</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The in-memory-flusher thread performs the flush asynchronously.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- =========== 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>protected final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicBoolean.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicBoolean</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#allowCompaction" class="member-name-link">allowCompaction</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="#COMPACTING_MEMSTORE_TYPE_DEFAULT" class="member-name-link">COMPACTING_MEMSTORE_TYPE_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="#COMPACTING_MEMSTORE_TYPE_KEY" class="member-name-link">COMPACTING_MEMSTORE_TYPE_KEY</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="MemStoreCompactor.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreCompactor</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#compactor" class="member-name-link">compactor</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private boolean</code></div> |
| <div class="col-second even-row-color"><code><a href="#compositeSnapshot" class="member-name-link">compositeSnapshot</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final long</code></div> |
| <div class="col-second odd-row-color"><code><a href="#DEEP_OVERHEAD" class="member-name-link">DEEP_OVERHEAD</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="#IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT" class="member-name-link">IN_MEMORY_CONPACTION_POOL_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="#IN_MEMORY_CONPACTION_POOL_SIZE_KEY" class="member-name-link">IN_MEMORY_CONPACTION_POOL_SIZE_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private static final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#IN_MEMORY_FLUSH_MULTIPLIER" class="member-name-link">IN_MEMORY_FLUSH_MULTIPLIER</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="#IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY" class="member-name-link">IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private <a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#indexType" class="member-name-link">indexType</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicBoolean.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicBoolean</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#inMemoryCompactionInProgress" class="member-name-link">inMemoryCompactionInProgress</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private long</code></div> |
| <div class="col-second even-row-color"><code><a href="#inmemoryFlushSize" class="member-name-link">inmemoryFlushSize</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private boolean</code></div> |
| <div class="col-second odd-row-color"><code><a href="#inWalReplay" class="member-name-link">inWalReplay</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private static final org.slf4j.Logger</code></div> |
| <div class="col-second even-row-color"><code><a href="#LOG" class="member-name-link">LOG</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private <a href="CompactionPipeline.html" title="class in org.apache.hadoop.hbase.regionserver">CompactionPipeline</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#pipeline" class="member-name-link">pipeline</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private <a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#store" class="member-name-link">store</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.regionserver.AbstractMemStore">Fields inherited from class org.apache.hadoop.hbase.regionserver.<a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></h3> |
| <code><a href="AbstractMemStore.html#FIXED_OVERHEAD">FIXED_OVERHEAD</a>, <a href="AbstractMemStore.html#regionServices">regionServices</a>, <a href="AbstractMemStore.html#snapshot">snapshot</a>, <a href="AbstractMemStore.html#snapshotId">snapshotId</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.CellComparator,org.apache.hadoop.hbase.regionserver.HStore,org.apache.hadoop.hbase.regionserver.RegionServicesForStores,org.apache.hadoop.hbase.MemoryCompactionPolicy)" class="member-name-link">CompactingMemStore</a><wbr>(org.apache.hadoop.conf.Configuration conf, |
| <a href="../CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> c, |
| <a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a> store, |
| <a href="RegionServicesForStores.html" title="class in org.apache.hadoop.hbase.regionserver">RegionServicesForStores</a> regionServices, |
| <a href="../MemoryCompactionPolicy.html" title="enum class in org.apache.hadoop.hbase">MemoryCompactionPolicy</a> compactionPolicy)</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-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-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete 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-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkAndAddToActiveSize(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)" class="member-name-link">checkAndAddToActiveSize</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive, |
| <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cellToAdd, |
| <a href="MemStoreSizing.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreSizing</a> memstoreSizing)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Check whether anything need to be done based on the current active set size.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValueScanner.html" title="interface in org.apache.hadoop.hbase.regionserver">KeyValueScanner</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createList(int)" class="member-name-link">createList</a><wbr>(int capacity)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="MemStoreCompactor.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreCompactor</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createMemStoreCompactor(org.apache.hadoop.hbase.MemoryCompactionPolicy)" class="member-name-link">createMemStoreCompactor</a><wbr>(<a href="../MemoryCompactionPolicy.html" title="enum class in org.apache.hadoop.hbase">MemoryCompactionPolicy</a> compactionPolicy)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#debug()" class="member-name-link">debug</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#flattenOneSegment(long,org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action)" class="member-name-link">flattenOneSegment</a><wbr>(long requesterVersion, |
| <a href="MemStoreCompactionStrategy.Action.html" title="enum class in org.apache.hadoop.hbase.regionserver">MemStoreCompactionStrategy.Action</a> action)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#flushInMemory()" class="member-name-link">flushInMemory</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)" class="member-name-link">flushInMemory</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFamilyName()" class="member-name-link">getFamilyName</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private byte[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFamilyNameInBytes()" class="member-name-link">getFamilyNameInBytes</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="MemStoreSize.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSize</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFlushableSize()" class="member-name-link">getFlushableSize</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Flush will first clear out the data in snapshot if any (It will take a second flush invocation |
| to clear the current Cell set).</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getImmutableSegments()" class="member-name-link">getImmutableSegments</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIndexType()" class="member-name-link">getIndexType</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getInmemoryFlushSize()" class="member-name-link">getInmemoryFlushSize</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private <a href="Segment.html" title="class in org.apache.hadoop.hbase.regionserver">Segment</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLastSegment()" class="member-name-link">getLastSegment</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNextRow(org.apache.hadoop.hbase.ExtendedCell)" class="member-name-link">getNextRow</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/ThreadPoolExecutor.html" title="class or interface in java.util.concurrent" class="external-link">ThreadPoolExecutor</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPool()" class="member-name-link">getPool</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private <a href="RegionServicesForStores.html" title="class in org.apache.hadoop.hbase.regionserver">RegionServicesForStores</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRegionServices()" class="member-name-link">getRegionServices</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValueScanner.html" title="interface in org.apache.hadoop.hbase.regionserver">KeyValueScanner</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getScanners(long)" class="member-name-link">getScanners</a><wbr>(long readPt)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This method is protected under <code>HStore#lock</code> read lock.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="Segment.html" title="class in org.apache.hadoop.hbase.regionserver">Segment</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSegments()" class="member-name-link">getSegments</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns an ordered list of segments from most recent to oldest in memstore</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSmallestReadPoint()" class="member-name-link">getSmallestReadPoint</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStore()" class="member-name-link">getStore</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hasImmutableSegments()" class="member-name-link">hasImmutableSegments</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#heapSize()" class="member-name-link">heapSize</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#initInmemoryFlushSize(org.apache.hadoop.conf.Configuration)" class="member-name-link">initInmemoryFlushSize</a><wbr>(org.apache.hadoop.conf.Configuration conf)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#inMemoryCompaction()" class="member-name-link">inMemoryCompaction</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isMemStoreFlushingInMemory()" class="member-name-link">isMemStoreFlushingInMemory</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isSloppy()" class="member-name-link">isSloppy</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#keySize()" class="member-name-link">keySize</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns The total size of cells in this memstore.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#postUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment)" class="member-name-link">postUpdate</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currentActive)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Issue any post update synchronization and tests</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preFlushSeqIDEstimation()" class="member-name-link">preFlushSeqIDEstimation</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This method is called before the flush is executed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)" class="member-name-link">preUpdate</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currentActive, |
| <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell, |
| <a href="MemStoreSizing.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreSizing</a> memstoreSizing)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Issue any synchronization and test needed before applying the update For compacting memstore |
| this means checking the update can increase the size without overflow</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pushActiveToPipeline(org.apache.hadoop.hbase.regionserver.MutableSegment,boolean)" class="member-name-link">pushActiveToPipeline</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive, |
| boolean checkEmpty)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">NOTE: When <a href="#flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)"><code>flushInMemory(MutableSegment)</code></a> calls this method, due to |
| concurrent writes and because we first add cell size to currActive.getDataSize and then |
| actually add cell to currActive.cellSet, it is possible that currActive.getDataSize could not |
| accommodate cellToAdd but currActive.cellSet is still empty if pending writes which not yet add |
| cells to currActive.cellSet,so for |
| <a href="#flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)"><code>flushInMemory(MutableSegment)</code></a>,checkEmpty parameter is false.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pushPipelineToSnapshot()" class="member-name-link">pushPipelineToSnapshot</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pushTailToSnapshot()" class="member-name-link">pushTailToSnapshot</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pushToSnapshot(java.util.List)" class="member-name-link">pushToSnapshot</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ImmutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">ImmutableSegment</a>> segments)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCompositeSnapshot(boolean)" class="member-name-link">setCompositeSnapshot</a><wbr>(boolean useCompositeSnapshot)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setIndexType(org.apache.hadoop.hbase.regionserver.CompactingMemStore.IndexType)" class="member-name-link">setIndexType</a><wbr>(<a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a> type)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInMemoryCompactionCompleted()" class="member-name-link">setInMemoryCompactionCompleted</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setInMemoryCompactionFlag()" class="member-name-link">setInMemoryCompactionFlag</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="MemStoreSize.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSize</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#size()" class="member-name-link">size</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#sizeAddedPreOperation()" class="member-name-link">sizeAddedPreOperation</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="MemStoreSnapshot.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSnapshot</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#snapshot()" class="member-name-link">snapshot</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Push the current active memstore segment into the pipeline and create a snapshot of the tail of |
| current compaction pipeline Snapshot must be cleared by call to <a href="AbstractMemStore.html#clearSnapshot(long)"><code>AbstractMemStore.clearSnapshot(long)</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#startReplayingFromWAL()" class="member-name-link">startReplayingFromWAL</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This message intends to inform the MemStore that next coming updates are going to be part of |
| the replaying edits from WAL</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#stopCompaction()" class="member-name-link">stopCompaction</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">The request to cancel the compaction asynchronous task (caused by in-memory flush) The |
| compaction may still happen if the request was sent too late Non-blocking request</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#stopReplayingFromWAL()" class="member-name-link">stopReplayingFromWAL</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">This message intends to inform the MemStore that the replaying edits from WAL are done</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#swapCompactedSegments(org.apache.hadoop.hbase.regionserver.VersionedSegmentsList,org.apache.hadoop.hbase.regionserver.ImmutableSegment,boolean)" class="member-name-link">swapCompactedSegments</a><wbr>(<a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a> versionedList, |
| <a href="ImmutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">ImmutableSegment</a> result, |
| boolean merge)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#swapPipelineWithNull(org.apache.hadoop.hbase.regionserver.VersionedSegmentsList)" class="member-name-link">swapPipelineWithNull</a><wbr>(<a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a> segments)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#tryFlushInMemoryAndCompactingAsync(org.apache.hadoop.hbase.regionserver.MutableSegment)" class="member-name-link">tryFlushInMemoryAndCompactingAsync</a><wbr>(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Try to flush the currActive in memory and submit the background |
| <a href="CompactingMemStore.InMemoryCompactionRunnable.html" title="class in org.apache.hadoop.hbase.regionserver"><code>CompactingMemStore.InMemoryCompactionRunnable</code></a> to |
| <a href="RegionServicesForStores.html#getInMemoryCompactionPool()"><code>RegionServicesForStores.getInMemoryCompactionPool()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateLowestUnflushedSequenceIdInWAL(boolean)" class="member-name-link">updateLowestUnflushedSequenceIdInWAL</a><wbr>(boolean onlyIfGreater)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Updates the wal with the lowest sequence id (oldest entry) that is still in memory</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.regionserver.AbstractMemStore">Methods inherited from class org.apache.hadoop.hbase.regionserver.<a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></h3> |
| <code><a href="AbstractMemStore.html#add(java.lang.Iterable,org.apache.hadoop.hbase.regionserver.MemStoreSizing)">add</a>, <a href="AbstractMemStore.html#add(org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)">add</a>, <a href="AbstractMemStore.html#addToScanners(java.util.List,long,java.util.List)">addToScanners</a>, <a href="AbstractMemStore.html#addToScanners(org.apache.hadoop.hbase.regionserver.Segment,long,java.util.List)">addToScanners</a>, <a href="AbstractMemStore.html#clearSnapshot(long)">clearSnapshot</a>, <a href="AbstractMemStore.html#close()">close</a>, <a href="AbstractMemStore.html#doAdd(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)">doAdd</a>, <a href="AbstractMemStore.html#doClearSnapShot()">doClearSnapShot</a>, <a href="AbstractMemStore.html#dump(org.slf4j.Logger)">dump</a>, <a href="AbstractMemStore.html#getActive()">getActive</a>, <a href="AbstractMemStore.html#getComparator()">getComparator</a>, <a href="AbstractMemStore.html#getConfiguration()">getConfiguration</a>, <a href="AbstractMemStore.html#getLowest(org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.ExtendedCell)">getLowest</a>, <a href="AbstractMemStore.html#getNextRow(org.apache.hadoop.hbase.ExtendedCell,java.util.NavigableSet)">getNextRow</a>, <a href="AbstractMemStore.html#getSnapshot()">getSnapshot</a>, <a href="AbstractMemStore.html#getSnapshotSize()">getSnapshotSize</a>, <a href="AbstractMemStore.html#resetActive()">resetActive</a>, <a href="AbstractMemStore.html#resetTimeOfOldestEdit()">resetTimeOfOldestEdit</a>, <a href="AbstractMemStore.html#timeOfOldestEdit()">timeOfOldestEdit</a>, <a href="AbstractMemStore.html#toString()">toString</a>, <a href="AbstractMemStore.html#upsert(java.lang.Iterable,long,org.apache.hadoop.hbase.regionserver.MemStoreSizing)">upsert</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></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="COMPACTING_MEMSTORE_TYPE_KEY"> |
| <h3>COMPACTING_MEMSTORE_TYPE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">public 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/CompactingMemStore.html#line-55">COMPACTING_MEMSTORE_TYPE_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.CompactingMemStore.COMPACTING_MEMSTORE_TYPE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="COMPACTING_MEMSTORE_TYPE_DEFAULT"> |
| <h3>COMPACTING_MEMSTORE_TYPE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">public 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/CompactingMemStore.html#line-57">COMPACTING_MEMSTORE_TYPE_DEFAULT</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY"> |
| <h3>IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY</h3> |
| <div class="member-signature"><span class="modifiers">public 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/CompactingMemStore.html#line-60">IN_MEMORY_FLUSH_THRESHOLD_FACTOR_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.CompactingMemStore.IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="IN_MEMORY_FLUSH_MULTIPLIER"> |
| <h3>IN_MEMORY_FLUSH_MULTIPLIER</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-62">IN_MEMORY_FLUSH_MULTIPLIER</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.CompactingMemStore.IN_MEMORY_FLUSH_MULTIPLIER">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="IN_MEMORY_CONPACTION_POOL_SIZE_KEY"> |
| <h3>IN_MEMORY_CONPACTION_POOL_SIZE_KEY</h3> |
| <div class="member-signature"><span class="modifiers">public 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/CompactingMemStore.html#line-64">IN_MEMORY_CONPACTION_POOL_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.CompactingMemStore.IN_MEMORY_CONPACTION_POOL_SIZE_KEY">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT"> |
| <h3>IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-66">IN_MEMORY_CONPACTION_POOL_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.CompactingMemStore.IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="LOG"> |
| <h3>LOG</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">org.slf4j.Logger</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-68">LOG</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="store"> |
| <h3>store</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-69">store</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeline"> |
| <h3>pipeline</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="CompactionPipeline.html" title="class in org.apache.hadoop.hbase.regionserver">CompactionPipeline</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-70">pipeline</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="compactor"> |
| <h3>compactor</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="MemStoreCompactor.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreCompactor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-71">compactor</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="inmemoryFlushSize"> |
| <h3>inmemoryFlushSize</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-73">inmemoryFlushSize</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="inMemoryCompactionInProgress"> |
| <h3>inMemoryCompactionInProgress</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicBoolean.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicBoolean</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-74">inMemoryCompactionInProgress</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="inWalReplay"> |
| <h3>inWalReplay</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-77">inWalReplay</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="allowCompaction"> |
| <h3>allowCompaction</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/AtomicBoolean.html" title="class or interface in java.util.concurrent.atomic" class="external-link">AtomicBoolean</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-79">allowCompaction</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="compositeSnapshot"> |
| <h3>compositeSnapshot</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-80">compositeSnapshot</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="indexType"> |
| <h3>indexType</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-92">indexType</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="DEEP_OVERHEAD"> |
| <h3>DEEP_OVERHEAD</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-94">DEEP_OVERHEAD</a></span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.CellComparator,org.apache.hadoop.hbase.regionserver.HStore,org.apache.hadoop.hbase.regionserver.RegionServicesForStores,org.apache.hadoop.hbase.MemoryCompactionPolicy)"> |
| <h3>CompactingMemStore</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-104">CompactingMemStore</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf, |
| <a href="../CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> c, |
| <a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a> store, |
| <a href="RegionServicesForStores.html" title="class in org.apache.hadoop.hbase.regionserver">RegionServicesForStores</a> regionServices, |
| <a href="../MemoryCompactionPolicy.html" title="enum class in org.apache.hadoop.hbase">MemoryCompactionPolicy</a> compactionPolicy)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></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="createMemStoreCompactor(org.apache.hadoop.hbase.MemoryCompactionPolicy)"> |
| <h3>createMemStoreCompactor</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="MemStoreCompactor.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreCompactor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-129">createMemStoreCompactor</a></span><wbr><span class="parameters">(<a href="../MemoryCompactionPolicy.html" title="enum class in org.apache.hadoop.hbase">MemoryCompactionPolicy</a> compactionPolicy)</span> |
| throws <span class="exceptions"><a href="../exceptions/IllegalArgumentIOException.html" title="class in org.apache.hadoop.hbase.exceptions">IllegalArgumentIOException</a></span></div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="../exceptions/IllegalArgumentIOException.html" title="class in org.apache.hadoop.hbase.exceptions">IllegalArgumentIOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="initInmemoryFlushSize(org.apache.hadoop.conf.Configuration)"> |
| <h3>initInmemoryFlushSize</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-134">initInmemoryFlushSize</a></span><wbr><span class="parameters">(org.apache.hadoop.conf.Configuration conf)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="size()"> |
| <h3>size</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="MemStoreSize.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSize</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-159">size</a></span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Total memory occupied by this MemStore. This won't include any size occupied by the |
| snapshot. We assume the snapshot will get cleared soon. This is not thread safe and the |
| memstore may be changed while computing its size. It is the responsibility of the |
| caller to make sure this doesn't happen.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="preFlushSeqIDEstimation()"> |
| <h3>preFlushSeqIDEstimation</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-174">preFlushSeqIDEstimation</a></span>()</div> |
| <div class="block">This method is called before the flush is executed.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>an estimation (lower bound) of the unflushed sequence id in memstore after the flush is |
| executed. if memstore will be cleared returns <code>HConstants.NO_SEQNUM</code>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isSloppy()"> |
| <h3>isSloppy</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-186">isSloppy</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="snapshot()"> |
| <h3>snapshot</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="MemStoreSnapshot.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSnapshot</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-197">snapshot</a></span>()</div> |
| <div class="block">Push the current active memstore segment into the pipeline and create a snapshot of the tail of |
| current compaction pipeline Snapshot must be cleared by call to <a href="AbstractMemStore.html#clearSnapshot(long)"><code>AbstractMemStore.clearSnapshot(long)</code></a>. |
| <a href="AbstractMemStore.html#clearSnapshot(long)"><code>AbstractMemStore.clearSnapshot(long)</code></a>.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd><a href="MemStoreSnapshot.html" title="class in org.apache.hadoop.hbase.regionserver"><code>MemStoreSnapshot</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFlushableSize()"> |
| <h3>getFlushableSize</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="MemStoreSize.html" title="class in org.apache.hadoop.hbase.regionserver">MemStoreSize</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-224">getFlushableSize</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="MemStore.html#getFlushableSize()">MemStore</a></code></span></div> |
| <div class="block">Flush will first clear out the data in snapshot if any (It will take a second flush invocation |
| to clear the current Cell set). If snapshot is empty, current Cell set will be flushed.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>On flush, how much memory we will clear.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setInMemoryCompactionCompleted()"> |
| <h3>setInMemoryCompactionCompleted</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-243">setInMemoryCompactionCompleted</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setInMemoryCompactionFlag()"> |
| <h3>setInMemoryCompactionFlag</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-247">setInMemoryCompactionFlag</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="keySize()"> |
| <h3>keySize</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-251">keySize</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="AbstractMemStore.html#keySize()">AbstractMemStore</a></code></span></div> |
| <div class="block">Returns The total size of cells in this memstore. We will not consider cells in the snapshot</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#keySize()">keySize</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="heapSize()"> |
| <h3>heapSize</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-261">heapSize</a></span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#heapSize()">heapSize</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>The total heap size of cells in this memstore. We will not consider cells in the |
| snapshot</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateLowestUnflushedSequenceIdInWAL(boolean)"> |
| <h3>updateLowestUnflushedSequenceIdInWAL</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-271">updateLowestUnflushedSequenceIdInWAL</a></span><wbr><span class="parameters">(boolean onlyIfGreater)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="AbstractMemStore.html#updateLowestUnflushedSequenceIdInWAL(boolean)">AbstractMemStore</a></code></span></div> |
| <div class="block">Updates the wal with the lowest sequence id (oldest entry) that is still in memory</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#updateLowestUnflushedSequenceIdInWAL(boolean)">updateLowestUnflushedSequenceIdInWAL</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>onlyIfGreater</code> - a flag that marks whether to update the sequence id no matter what or |
| only if it is greater than the previous sequence id</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="startReplayingFromWAL()"> |
| <h3>startReplayingFromWAL</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-288">startReplayingFromWAL</a></span>()</div> |
| <div class="block">This message intends to inform the MemStore that next coming updates are going to be part of |
| the replaying edits from WAL</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stopReplayingFromWAL()"> |
| <h3>stopReplayingFromWAL</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-296">stopReplayingFromWAL</a></span>()</div> |
| <div class="block">This message intends to inform the MemStore that the replaying edits from WAL are done</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)"> |
| <h3>preUpdate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-309">preUpdate</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currentActive, |
| <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell, |
| <a href="MemStoreSizing.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreSizing</a> memstoreSizing)</span></div> |
| <div class="block">Issue any synchronization and test needed before applying the update For compacting memstore |
| this means checking the update can increase the size without overflow</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.ExtendedCell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)">preUpdate</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>currentActive</code> - the segment to be updated</dd> |
| <dd><code>cell</code> - the cell to be added</dd> |
| <dd><code>memstoreSizing</code> - object to accumulate region size changes</dd> |
| <dt>Returns:</dt> |
| <dd>true iff can proceed with applying the update</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="postUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment)"> |
| <h3>postUpdate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-321">postUpdate</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currentActive)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="AbstractMemStore.html#postUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment)">AbstractMemStore</a></code></span></div> |
| <div class="block">Issue any post update synchronization and tests</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#postUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment)">postUpdate</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>currentActive</code> - updated segment</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sizeAddedPreOperation()"> |
| <h3>sizeAddedPreOperation</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-326">sizeAddedPreOperation</a></span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#sizeAddedPreOperation()">sizeAddedPreOperation</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSegments()"> |
| <h3>getSegments</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="Segment.html" title="class in org.apache.hadoop.hbase.regionserver">Segment</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-332">getSegments</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="AbstractMemStore.html#getSegments()">AbstractMemStore</a></code></span></div> |
| <div class="block">Returns an ordered list of segments from most recent to oldest in memstore</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="AbstractMemStore.html#getSegments()">getSegments</a></code> in class <code><a href="AbstractMemStore.html" title="class in org.apache.hadoop.hbase.regionserver">AbstractMemStore</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setCompositeSnapshot(boolean)"> |
| <h3>setCompositeSnapshot</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-344">setCompositeSnapshot</a></span><wbr><span class="parameters">(boolean useCompositeSnapshot)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="swapCompactedSegments(org.apache.hadoop.hbase.regionserver.VersionedSegmentsList,org.apache.hadoop.hbase.regionserver.ImmutableSegment,boolean)"> |
| <h3>swapCompactedSegments</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-348">swapCompactedSegments</a></span><wbr><span class="parameters">(<a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a> versionedList, |
| <a href="ImmutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">ImmutableSegment</a> result, |
| boolean merge)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="flattenOneSegment(long,org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action)"> |
| <h3>flattenOneSegment</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-359">flattenOneSegment</a></span><wbr><span class="parameters">(long requesterVersion, |
| <a href="MemStoreCompactionStrategy.Action.html" title="enum class in org.apache.hadoop.hbase.regionserver">MemStoreCompactionStrategy.Action</a> action)</span></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>requesterVersion</code> - The caller must hold the VersionedList of the pipeline with version |
| taken earlier. This version must be passed as a parameter here. The |
| flattening happens only if versions match.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setIndexType(org.apache.hadoop.hbase.regionserver.CompactingMemStore.IndexType)"> |
| <h3>setIndexType</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-364">setIndexType</a></span><wbr><span class="parameters">(<a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a> type)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getIndexType()"> |
| <h3>getIndexType</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="CompactingMemStore.IndexType.html" title="enum class in org.apache.hadoop.hbase.regionserver">CompactingMemStore.IndexType</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-371">getIndexType</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="hasImmutableSegments()"> |
| <h3>hasImmutableSegments</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-375">hasImmutableSegments</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getImmutableSegments()"> |
| <h3>getImmutableSegments</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-379">getImmutableSegments</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSmallestReadPoint()"> |
| <h3>getSmallestReadPoint</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-383">getSmallestReadPoint</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStore()"> |
| <h3>getStore</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HStore.html" title="class in org.apache.hadoop.hbase.regionserver">HStore</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-387">getStore</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFamilyName()"> |
| <h3>getFamilyName</h3> |
| <div class="member-signature"><span class="modifiers">public</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/CompactingMemStore.html#line-391">getFamilyName</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getScanners(long)"> |
| <h3>getScanners</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValueScanner.html" title="interface in org.apache.hadoop.hbase.regionserver">KeyValueScanner</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-398">getScanners</a></span><wbr><span class="parameters">(long readPt)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">This method is protected under <code>HStore#lock</code> read lock.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>scanner over the memstore. This might include scanner over the snapshot when one is |
| present.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createList(int)"> |
| <h3>createList</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValueScanner.html" title="interface in org.apache.hadoop.hbase.regionserver">KeyValueScanner</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-412">createList</a></span><wbr><span class="parameters">(int capacity)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="checkAndAddToActiveSize(org.apache.hadoop.hbase.regionserver.MutableSegment,org.apache.hadoop.hbase.Cell,org.apache.hadoop.hbase.regionserver.MemStoreSizing)"> |
| <h3>checkAndAddToActiveSize</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-425">checkAndAddToActiveSize</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive, |
| <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cellToAdd, |
| <a href="MemStoreSizing.html" title="interface in org.apache.hadoop.hbase.regionserver">MemStoreSizing</a> memstoreSizing)</span></div> |
| <div class="block">Check whether anything need to be done based on the current active set size. The method is |
| invoked upon every addition to the active set. For CompactingMemStore, flush the active set to |
| the read-only memory if it's size is above threshold</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>currActive</code> - intended segment to update</dd> |
| <dd><code>cellToAdd</code> - cell to be added to the segment</dd> |
| <dd><code>memstoreSizing</code> - object to accumulate changed size</dd> |
| <dt>Returns:</dt> |
| <dd>true if the cell can be added to the currActive</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="tryFlushInMemoryAndCompactingAsync(org.apache.hadoop.hbase.regionserver.MutableSegment)"> |
| <h3>tryFlushInMemoryAndCompactingAsync</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-459">tryFlushInMemoryAndCompactingAsync</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive)</span></div> |
| <div class="block">Try to flush the currActive in memory and submit the background |
| <a href="CompactingMemStore.InMemoryCompactionRunnable.html" title="class in org.apache.hadoop.hbase.regionserver"><code>CompactingMemStore.InMemoryCompactionRunnable</code></a> to |
| <a href="RegionServicesForStores.html#getInMemoryCompactionPool()"><code>RegionServicesForStores.getInMemoryCompactionPool()</code></a>. Just one thread can do the actual |
| flushing in memory.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>currActive</code> - current Active Segment to be flush in memory.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="flushInMemory()"> |
| <h3>flushInMemory</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-477">flushInMemory</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)"> |
| <h3>flushInMemory</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-485">flushInMemory</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="inMemoryCompaction()"> |
| <h3>inMemoryCompaction</h3> |
| <div class="member-signature"><span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-495">inMemoryCompaction</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getLastSegment()"> |
| <h3>getLastSegment</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="Segment.html" title="class in org.apache.hadoop.hbase.regionserver">Segment</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-515">getLastSegment</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFamilyNameInBytes()"> |
| <h3>getFamilyNameInBytes</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-521">getFamilyNameInBytes</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPool()"> |
| <h3>getPool</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/ThreadPoolExecutor.html" title="class or interface in java.util.concurrent" class="external-link">ThreadPoolExecutor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-525">getPool</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stopCompaction()"> |
| <h3>stopCompaction</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-533">stopCompaction</a></span>()</div> |
| <div class="block">The request to cancel the compaction asynchronous task (caused by in-memory flush) The |
| compaction may still happen if the request was sent too late Non-blocking request</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pushActiveToPipeline(org.apache.hadoop.hbase.regionserver.MutableSegment,boolean)"> |
| <h3>pushActiveToPipeline</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-549">pushActiveToPipeline</a></span><wbr><span class="parameters">(<a href="MutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">MutableSegment</a> currActive, |
| boolean checkEmpty)</span></div> |
| <div class="block">NOTE: When <a href="#flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)"><code>flushInMemory(MutableSegment)</code></a> calls this method, due to |
| concurrent writes and because we first add cell size to currActive.getDataSize and then |
| actually add cell to currActive.cellSet, it is possible that currActive.getDataSize could not |
| accommodate cellToAdd but currActive.cellSet is still empty if pending writes which not yet add |
| cells to currActive.cellSet,so for |
| <a href="#flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment)"><code>flushInMemory(MutableSegment)</code></a>,checkEmpty parameter is false. But if |
| <a href="#snapshot()"><code>snapshot()</code></a> called this method,because there is no pending |
| write,checkEmpty parameter could be true.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pushTailToSnapshot()"> |
| <h3>pushTailToSnapshot</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-556">pushTailToSnapshot</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pushPipelineToSnapshot()"> |
| <h3>pushPipelineToSnapshot</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-563">pushPipelineToSnapshot</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="swapPipelineWithNull(org.apache.hadoop.hbase.regionserver.VersionedSegmentsList)"> |
| <h3>swapPipelineWithNull</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-586">swapPipelineWithNull</a></span><wbr><span class="parameters">(<a href="VersionedSegmentsList.html" title="class in org.apache.hadoop.hbase.regionserver">VersionedSegmentsList</a> segments)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pushToSnapshot(java.util.List)"> |
| <h3>pushToSnapshot</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-590">pushToSnapshot</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="ImmutableSegment.html" title="class in org.apache.hadoop.hbase.regionserver">ImmutableSegment</a>> segments)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRegionServices()"> |
| <h3>getRegionServices</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="RegionServicesForStores.html" title="class in org.apache.hadoop.hbase.regionserver">RegionServicesForStores</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-601">getRegionServices</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isMemStoreFlushingInMemory()"> |
| <h3>isMemStoreFlushingInMemory</h3> |
| <div class="member-signature"><span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-617">isMemStoreFlushingInMemory</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNextRow(org.apache.hadoop.hbase.ExtendedCell)"> |
| <h3>getNextRow</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/CompactingMemStore.html#line-625">getNextRow</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a> cell)</span></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>cell</code> - Find the row that comes after this one. If null, we return the first.</dd> |
| <dt>Returns:</dt> |
| <dd>Next row or null if none found.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getInmemoryFlushSize()"> |
| <h3>getInmemoryFlushSize</h3> |
| <div class="member-signature"><span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-638">getInmemoryFlushSize</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="debug()"> |
| <h3>debug</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/regionserver/CompactingMemStore.html#line-643">debug</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> |