blob: c3c8213e62862ccf27b4a2705f0367ced26d90a4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RegionServerFlushTableProcedureManager (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RegionServerFlushTableProcedureManager (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RegionServerFlushTableProcedureManager.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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/MasterFlushTableProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure.flush"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder.html" title="class in org.apache.hadoop.hbase.procedure.flush"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html" target="_top">Frames</a></li>
<li><a href="RegionServerFlushTableProcedureManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.hadoop.hbase.procedure.flush</div>
<h2 title="Class RegionServerFlushTableProcedureManager" class="title">Class RegionServerFlushTableProcedureManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">org.apache.hadoop.hbase.procedure.ProcedureManager</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">org.apache.hadoop.hbase.procedure.RegionServerProcedureManager</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>@InterfaceAudience.LimitedPrivate(value="Configuration")
public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.61">RegionServerFlushTableProcedureManager</a>
extends <a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">RegionServerProcedureManager</a></pre>
<div class="block">This manager class handles flushing of the regions for table on a <a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html" title="class in org.apache.hadoop.hbase.regionserver"><code>HRegionServer</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder.html" title="class in org.apache.hadoop.hbase.procedure.flush">RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.FlushTableSubprocedurePool.html" title="class in org.apache.hadoop.hbase.procedure.flush">RegionServerFlushTableProcedureManager.FlushTableSubprocedurePool</a></span></code>
<div class="block">We use the FlushTableSubprocedurePool, a class specific thread pool instead of
<a href="../../../../../../org/apache/hadoop/hbase/executor/ExecutorService.html" title="class in org.apache.hadoop.hbase.executor"><code>ExecutorService</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#CONCURENT_FLUSH_TASKS_KEY">CONCURENT_FLUSH_TASKS_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#DEFAULT_CONCURRENT_FLUSH_TASKS">DEFAULT_CONCURRENT_FLUSH_TASKS</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_REQUEST_THREADS_DEFAULT">FLUSH_REQUEST_THREADS_DEFAULT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_REQUEST_THREADS_KEY">FLUSH_REQUEST_THREADS_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_REQUEST_WAKE_MILLIS_DEFAULT">FLUSH_REQUEST_WAKE_MILLIS_DEFAULT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_REQUEST_WAKE_MILLIS_KEY">FLUSH_REQUEST_WAKE_MILLIS_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_TIMEOUT_MILLIS_DEFAULT">FLUSH_TIMEOUT_MILLIS_DEFAULT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#FLUSH_TIMEOUT_MILLIS_KEY">FLUSH_TIMEOUT_MILLIS_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static org.slf4j.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#LOG">LOG</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMember.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureMember</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#member">member</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMemberRpcs.html" title="interface in org.apache.hadoop.hbase.procedure">ProcedureMemberRpcs</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#memberRpcs">memberRpcs</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#rss">rss</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#RegionServerFlushTableProcedureManager--">RegionServerFlushTableProcedureManager</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#RegionServerFlushTableProcedureManager-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.regionserver.HRegionServer-org.apache.hadoop.hbase.procedure.ProcedureMemberRpcs-org.apache.hadoop.hbase.procedure.ProcedureMember-">RegionServerFlushTableProcedureManager</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionServer</a>&nbsp;server,
<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMemberRpcs.html" title="interface in org.apache.hadoop.hbase.procedure">ProcedureMemberRpcs</a>&nbsp;memberRpc,
<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMember.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureMember</a>&nbsp;procMember)</code>
<div class="block">Exposed for testing.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/procedure/Subprocedure.html" title="class in org.apache.hadoop.hbase.procedure">Subprocedure</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#buildSubprocedure-java.lang.String-java.lang.String-">buildSubprocedure</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;table,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;family)</code>
<div class="block">If in a running state, creates the specified subprocedure to flush table regions.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#getProcedureSignature--">getProcedureSignature</a></span>()</code>
<div class="block">Return the unique signature of the procedure.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#getRegionsToFlush-java.lang.String-">getRegionsToFlush</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;table)</code>
<div class="block">Get the list of regions to flush for the table on this server
It is possible that if a region moves somewhere between the calls
we'll miss the region.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#initialize-org.apache.hadoop.hbase.regionserver.RegionServerServices-">initialize</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a>&nbsp;rss)</code>
<div class="block">Initialize this region server flush procedure manager
Uses a zookeeper based member controller.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#start--">start</a></span>()</code>
<div class="block">Start accepting flush table requests.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#stop-boolean-">stop</a></span>(boolean&nbsp;force)</code>
<div class="block">Close <tt>this</tt> and all running tasks</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.procedure.ProcedureManager">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.procedure.<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureManager</a></h3>
<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html#hashCode--">hashCode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="LOG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG</h4>
<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.62">LOG</a></pre>
</li>
</ul>
<a name="CONCURENT_FLUSH_TASKS_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONCURENT_FLUSH_TASKS_KEY</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.65">CONCURENT_FLUSH_TASKS_KEY</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.CONCURENT_FLUSH_TASKS_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_CONCURRENT_FLUSH_TASKS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_CONCURRENT_FLUSH_TASKS</h4>
<pre>private static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.67">DEFAULT_CONCURRENT_FLUSH_TASKS</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.DEFAULT_CONCURRENT_FLUSH_TASKS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_REQUEST_THREADS_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_REQUEST_THREADS_KEY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.69">FLUSH_REQUEST_THREADS_KEY</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_REQUEST_THREADS_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_REQUEST_THREADS_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_REQUEST_THREADS_DEFAULT</h4>
<pre>public static final&nbsp;int <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.71">FLUSH_REQUEST_THREADS_DEFAULT</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_REQUEST_THREADS_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_TIMEOUT_MILLIS_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_TIMEOUT_MILLIS_KEY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.73">FLUSH_TIMEOUT_MILLIS_KEY</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_TIMEOUT_MILLIS_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_TIMEOUT_MILLIS_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_TIMEOUT_MILLIS_DEFAULT</h4>
<pre>public static final&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.75">FLUSH_TIMEOUT_MILLIS_DEFAULT</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_TIMEOUT_MILLIS_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_REQUEST_WAKE_MILLIS_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_REQUEST_WAKE_MILLIS_KEY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.77">FLUSH_REQUEST_WAKE_MILLIS_KEY</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_REQUEST_WAKE_MILLIS_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FLUSH_REQUEST_WAKE_MILLIS_DEFAULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FLUSH_REQUEST_WAKE_MILLIS_DEFAULT</h4>
<pre>private static final&nbsp;long <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.79">FLUSH_REQUEST_WAKE_MILLIS_DEFAULT</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.procedure.flush.RegionServerFlushTableProcedureManager.FLUSH_REQUEST_WAKE_MILLIS_DEFAULT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="rss">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rss</h4>
<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.81">rss</a></pre>
</li>
</ul>
<a name="memberRpcs">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>memberRpcs</h4>
<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMemberRpcs.html" title="interface in org.apache.hadoop.hbase.procedure">ProcedureMemberRpcs</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.82">memberRpcs</a></pre>
</li>
</ul>
<a name="member">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>member</h4>
<pre>private&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMember.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureMember</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.83">member</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RegionServerFlushTableProcedureManager-org.apache.hadoop.conf.Configuration-org.apache.hadoop.hbase.regionserver.HRegionServer-org.apache.hadoop.hbase.procedure.ProcedureMemberRpcs-org.apache.hadoop.hbase.procedure.ProcedureMember-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RegionServerFlushTableProcedureManager</h4>
<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.92">RegionServerFlushTableProcedureManager</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html" title="class in org.apache.hadoop.hbase.regionserver">HRegionServer</a>&nbsp;server,
<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMemberRpcs.html" title="interface in org.apache.hadoop.hbase.procedure">ProcedureMemberRpcs</a>&nbsp;memberRpc,
<a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureMember.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureMember</a>&nbsp;procMember)</pre>
<div class="block">Exposed for testing.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - HBase configuration.</dd>
<dd><code>server</code> - region server.</dd>
<dd><code>memberRpc</code> - use specified memberRpc instance</dd>
<dd><code>procMember</code> - use specified ProcedureMember</dd>
</dl>
</li>
</ul>
<a name="RegionServerFlushTableProcedureManager--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RegionServerFlushTableProcedureManager</h4>
<pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.99">RegionServerFlushTableProcedureManager</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="start--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.105">start</a>()</pre>
<div class="block">Start accepting flush table requests.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html#start--">start</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">RegionServerProcedureManager</a></code></dd>
</dl>
</li>
</ul>
<a name="stop-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.116">stop</a>(boolean&nbsp;force)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Close <tt>this</tt> and all running tasks</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html#stop-boolean-">stop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">RegionServerProcedureManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>force</code> - forcefully stop all running tasks</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="buildSubprocedure-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildSubprocedure</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/procedure/Subprocedure.html" title="class in org.apache.hadoop.hbase.procedure">Subprocedure</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.137">buildSubprocedure</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;table,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;family)</pre>
<div class="block">If in a running state, creates the specified subprocedure to flush table regions.
Because this gets the local list of regions to flush and not the set the master had,
there is a possibility of a race where regions may be missed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - </dd>
<dd><code>family</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Subprocedure to submit to the ProcedureMember.</dd>
</dl>
</li>
</ul>
<a name="getRegionsToFlush-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegionsToFlush</h4>
<pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/regionserver/HRegion.html" title="class in org.apache.hadoop.hbase.regionserver">HRegion</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.181">getRegionsToFlush</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;table)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Get the list of regions to flush for the table on this server
It is possible that if a region moves somewhere between the calls
we'll miss the region.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>table</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the list of online regions. Empty list is returned if no regions.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="initialize-org.apache.hadoop.hbase.regionserver.RegionServerServices-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialize</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.334">initialize</a>(<a href="../../../../../../org/apache/hadoop/hbase/regionserver/RegionServerServices.html" title="interface in org.apache.hadoop.hbase.regionserver">RegionServerServices</a>&nbsp;rss)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Initialize this region server flush procedure manager
Uses a zookeeper based member controller.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html#initialize-org.apache.hadoop.hbase.regionserver.RegionServerServices-">initialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/RegionServerProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">RegionServerProcedureManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rss</code> - region server</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if the zookeeper cannot be reached</dd>
</dl>
</li>
</ul>
<a name="getProcedureSignature--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getProcedureSignature</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html#line.351">getProcedureSignature</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html#getProcedureSignature--">ProcedureManager</a></code></span></div>
<div class="block">Return the unique signature of the procedure. This signature uniquely
identifies the procedure. By default, this signature is the string used in
the procedure controller (i.e., the root ZK node name for the procedure)</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html#getProcedureSignature--">getProcedureSignature</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/procedure/ProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure">ProcedureManager</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RegionServerFlushTableProcedureManager.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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/MasterFlushTableProcedureManager.html" title="class in org.apache.hadoop.hbase.procedure.flush"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder.html" title="class in org.apache.hadoop.hbase.procedure.flush"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/procedure/flush/RegionServerFlushTableProcedureManager.html" target="_top">Frames</a></li>
<li><a href="RegionServerFlushTableProcedureManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>