http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html new file mode 100644 index 0000000..906a0f1 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html @@ -0,0 +1,295 @@ +<!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>SimpleRegionNormalizer.PlanComparator (Apache HBase 3.0.0-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="SimpleRegionNormalizer.PlanComparator (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":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/SimpleRegionNormalizer.PlanComparator.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/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" target="_top">Frames</a></li> +<li><a href="SimpleRegionNormalizer.PlanComparator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </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.master.normalizer</div> +<h2 title="Class SimpleRegionNormalizer.PlanComparator" class="title">Class SimpleRegionNormalizer.PlanComparator</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>org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer">SimpleRegionNormalizer</a></dd> +</dl> +<hr> +<br> +<pre>static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.96">SimpleRegionNormalizer.PlanComparator</a> +extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>></pre> +<div class="block">Comparator class that gives higher priority to region Split plan.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== 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"> </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/master/normalizer/SimpleRegionNormalizer.PlanComparator.html#PlanComparator--">PlanComparator</a></span>()</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html#compare-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-">compare</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan1, + <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan2)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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#equals-java.lang.Object-" title="class or interface in java.lang">equals</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#hashCode--" title="class or interface in java.lang">hashCode</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/ja va/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> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.util.Comparator"> +<!-- --> +</a> +<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a></h3> +<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#comparing-java.util.function.Function-" title="class or interface in java.util">comparing</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#comparing-java.util.function.Function-java.util.Comparator-" title="class or interface in java.util">comparing</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#comparingDouble-java.util.function.ToDoubleFunction-" title="class or interface in java.util">comparingDouble</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#comparingInt-java.util.function.ToIntFunction-" title="class or interface in java.util">comparingInt</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#comparingLong-java.util.function.ToLongFunction-" title="class or interface in java.util" >comparingLong</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#equals-java.lang.Object-" > title="class or interface in java.util">equals</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#naturalOrder--" > title="class or interface in java.util">naturalOrder</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#nullsFirst-java.util.Comparator-" > title="class or interface in java.util">nullsFirst</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#nullsLast-java.util.Comparator-" > title="class or interface in java.util">nullsLast</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#reversed--" > title="class or interface in java.util">reversed</a>, <a >href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#reverseOrder--" > t itle="class or interface in java.util">reverseOrder</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparing-java.util.Comparator-" title="class or interface in java.util">thenComparing</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparing-java.util.function.Function-" title="class or interface in java.util">thenComparing</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparing-java.util.function.Function-java.util.Comparator-" title="class or interface in java.util">thenComparing</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparingDouble-java.util.function.ToDoubleFunction-" title="class or interface in java.util">thenComparingDouble</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparingInt-java.ut il.function.ToIntFunction-" title="class or interface in java.util">thenComparingInt</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#thenComparingLong-java.util.function.ToLongFunction-" title="class or interface in java.util">thenComparingLong</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="PlanComparator--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>PlanComparator</h4> +<pre><a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html#line.96">PlanComparator</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="compare-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>compare</h4> +<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html#line.98">compare</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan1, + <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan2)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true#compare-T-T-" title="class or interface in java.util">compare</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</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/SimpleRegionNormalizer.PlanComparator.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/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" target="_top">Frames</a></li> +<li><a href="SimpleRegionNormalizer.PlanComparator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </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 © 2007–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html index afec8df..daac428 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/RegionNormalizerFactory.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" target="_top">Frames</a></li> @@ -74,7 +74,7 @@ var activeTableTab = "activeTableTab"; <div> <ul class="subNavList"> <li>Summary: </li> -<li>Nested | </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> @@ -140,6 +140,27 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <div class="summary"> <ul class="blockList"> <li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>(package private) static class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer">SimpleRegionNormalizer.PlanComparator</a></span></code> +<div class="block">Comparator class that gives higher priority to region Split plan.</div> +</td> +</tr> +</table> +</li> +</ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> @@ -319,7 +340,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockListLast"> <li class="blockList"> <h4>planComparator</h4> -<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.94">planComparator</a></pre> +<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.113">planComparator</a></pre> </li> </ul> </li> @@ -424,7 +445,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockList"> <li class="blockList"> <h4>computePlanForTable</h4> -<pre>public <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><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.116">computePlanForTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table) +<pre>public <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><<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.123">computePlanForTable</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> table) throws <a href="../../../../../../org/apache/hadoop/hbase/HBaseIOException.html" title="class in org.apache.hadoop.hbase">HBaseIOException</a></pre> <div class="block">Computes next most "urgent" normalization action on the table. Action may be either a split, or a merge, or no action.</div> @@ -446,7 +467,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <ul class="blockListLast"> <li class="blockList"> <h4>getRegionSize</h4> -<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.205">getRegionSize</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> hri)</pre> +<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html#line.212">getRegionSize</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/RegionInfo.html" title="interface in org.apache.hadoop.hbase.client">RegionInfo</a> hri)</pre> </li> </ul> </li> @@ -478,7 +499,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/RegionNormalizerFactory.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" target="_top">Frames</a></li> @@ -502,7 +523,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ <div> <ul class="subNavList"> <li>Summary: </li> -<li>Nested | </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> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html index d02bf12..4dd6415 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> <li>Next Class</li> </ul> <ul class="navList"> @@ -409,7 +409,7 @@ implements <a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/ </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">Prev Class</span></a></li> <li>Next Class</li> </ul> <ul class="navList"> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/NormalizationPlan.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/NormalizationPlan.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/NormalizationPlan.html index e82ca1c..364e7e7 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/NormalizationPlan.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/NormalizationPlan.html @@ -157,6 +157,20 @@ </tr> </tbody> </table> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/package-summary.html">org.apache.hadoop.hbase.master.normalizer</a> with parameters of type <a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><span class="typeNameLabel">SimpleRegionNormalizer.PlanComparator.</span><code><span class="memberNameLink"><a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html#compare-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-org.apache.hadoop.hbase.master.normalizer.NormalizationPlan-">compare</a></span>(<a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan1, + <a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a> plan2)</code> </td> +</tr> +</tbody> +</table> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html new file mode 100644 index 0000000..604bd60 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html @@ -0,0 +1,125 @@ +<!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>Uses of Class org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator (Apache HBase 3.0.0-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="Uses of Class org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator (Apache HBase 3.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +</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><a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../../overview-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>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html" target="_top">Frames</a></li> +<li><a href="SimpleRegionNormalizer.PlanComparator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../../allclasses-noframe.html">All 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> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<div class="header"> +<h2 title="Uses of Class org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator" class="title">Uses of Class<br>org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator</h2> +</div> +<div class="classUseContainer">No usage of org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.PlanComparator</div> +<!-- ======= 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><a href="../../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer">Class</a></li> +<li class="navBarCell1Rev">Use</li> +<li><a href="../../../../../../../overview-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>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/master/normalizer/class-use/SimpleRegionNormalizer.PlanComparator.html" target="_top">Frames</a></li> +<li><a href="SimpleRegionNormalizer.PlanComparator.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../../allclasses-noframe.html">All 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> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-frame.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-frame.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-frame.html index 7f5024b..511d8c3 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-frame.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-frame.html @@ -23,6 +23,7 @@ <li><a href="RegionNormalizerChore.html" title="class in org.apache.hadoop.hbase.master.normalizer" target="classFrame">RegionNormalizerChore</a></li> <li><a href="RegionNormalizerFactory.html" title="class in org.apache.hadoop.hbase.master.normalizer" target="classFrame">RegionNormalizerFactory</a></li> <li><a href="SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer" target="classFrame">SimpleRegionNormalizer</a></li> +<li><a href="SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer" target="classFrame">SimpleRegionNormalizer.PlanComparator</a></li> <li><a href="SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer" target="classFrame">SplitNormalizationPlan</a></li> </ul> <h2 title="Enums">Enums</h2> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-summary.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-summary.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-summary.html index 54483b2..1369486 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-summary.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-summary.html @@ -140,6 +140,12 @@ </td> </tr> <tr class="rowColor"> +<td class="colFirst"><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer">SimpleRegionNormalizer.PlanComparator</a></td> +<td class="colLast"> +<div class="block">Comparator class that gives higher priority to region Split plan.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer">SplitNormalizationPlan</a></td> <td class="colLast"> <div class="block">Normalization plan to split region.</div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-tree.html index 4b97c5e..98b2ab4 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/normalizer/package-tree.html @@ -90,6 +90,7 @@ </ul> </li> <li type="circle">org.apache.hadoop.hbase.master.normalizer.<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">SimpleRegionNormalizer</span></a> (implements org.apache.hadoop.hbase.master.normalizer.<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/RegionNormalizer.html" title="interface in org.apache.hadoop.hbase.master.normalizer">RegionNormalizer</a>)</li> +<li type="circle">org.apache.hadoop.hbase.master.normalizer.<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.PlanComparator.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">SimpleRegionNormalizer.PlanComparator</span></a> (implements java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><T>)</li> <li type="circle">org.apache.hadoop.hbase.master.normalizer.<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/SplitNormalizationPlan.html" title="class in org.apache.hadoop.hbase.master.normalizer"><span class="typeNameLink">SplitNormalizationPlan</span></a> (implements org.apache.hadoop.hbase.master.normalizer.<a href="../../../../../../org/apache/hadoop/hbase/master/normalizer/NormalizationPlan.html" title="interface in org.apache.hadoop.hbase.master.normalizer">NormalizationPlan</a>)</li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html index d5ee1b0..47a4248 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/package-tree.html @@ -346,10 +346,10 @@ <ul> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/RegionState.State.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">RegionState.State</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MasterRpcServices.BalanceSwitchMode.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MasterRpcServices.BalanceSwitchMode</span></a></li> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.TerminationStatus.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.TerminationStatus</span></a></li> -<li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/SplitLogManager.ResubmitDirective.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">SplitLogManager.ResubmitDirective</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.<a href="../../../../../org/apache/hadoop/hbase/master/MetricsMasterSourceFactoryImpl.FactoryStorage.html" title="enum in org.apache.hadoop.hbase.master"><span class="typeNameLink">MetricsMasterSourceFactoryImpl.FactoryStorage</span></a></li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html index e602642..550d779 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html @@ -208,8 +208,8 @@ <ul> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> -<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">TableProcedureInterface.TableOperationType</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/ServerProcedureInterface.ServerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">ServerProcedureInterface.ServerOperationType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.TableOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">TableProcedureInterface.TableOperationType</span></a></li> <li type="circle">org.apache.hadoop.hbase.master.procedure.<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure"><span class="typeNameLink">PeerProcedureInterface.PeerOperationType</span></a></li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html index 3d3bc89..683e5ee 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +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"; @@ -134,7 +134,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>@InterfaceAudience.Private -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.32">DisablePeerProcedure</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.35">DisablePeerProcedure</a> extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">ModifyPeerProcedure</a></pre> <div class="block">The procedure for disabling a replication peer.</div> </li> @@ -238,22 +238,36 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer)</code> +<div class="block">Called on store load to allow the user to decode the previously serialized + state.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#getPeerOperationType--">getPeerOperationType</a></span>()</code> </td> </tr> -<tr id="i1" class="rowColor"> +<tr id="i2" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">postPeerModification</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">Called before we finish the procedure.</div> </td> </tr> -<tr id="i2" class="altColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">prePeerModification</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">Called before we start the actual processing.</div> </td> </tr> -<tr id="i3" class="rowColor"> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer)</code> +<div class="block">The user-level code of the procedure may have some state to + persist (e.g.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#updatePeerStorage-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">updatePeerStorage</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> </td> </tr> @@ -270,7 +284,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.master.replication.<a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a></h3> -<code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#acquireLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">acquireLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getLatch--">getLatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getPeerId--">getPeerId</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#hasLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">hasLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#holdLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">h oldLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#releaseLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">releaseLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></code></li> +<code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#acquireLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">acquireLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getLatch--">getLatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getPeerId--">getPeerId</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#hasLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">hasLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#holdLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">holdLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#releaseLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">releaseLock</a></code> </li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.procedure2.StateMachineProcedure"> @@ -313,7 +327,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockListLast"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.34">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.37">LOG</a></pre> </li> </ul> </li> @@ -330,7 +344,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>DisablePeerProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.36">DisablePeerProcedure</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.39">DisablePeerProcedure</a>()</pre> </li> </ul> <a name="DisablePeerProcedure-java.lang.String-"> @@ -339,7 +353,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockListLast"> <li class="blockList"> <h4>DisablePeerProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.39">DisablePeerProcedure</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> peerId)</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.42">DisablePeerProcedure</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> peerId)</pre> </li> </ul> </li> @@ -356,7 +370,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>getPeerOperationType</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.44">getPeerOperationType</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.47">getPeerOperationType</a>()</pre> </li> </ul> <a name="prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> @@ -365,7 +379,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>prePeerModification</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.49">prePeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.52">prePeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html#prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">ModifyPeerProcedure</a></code></span></div> <div class="block">Called before we start the actual processing. The implementation should call the pre CP hook, @@ -387,7 +401,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>updatePeerStorage</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.58">updatePeerStorage</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.61">updatePeerStorage</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) throws <a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html" title="class in org.apache.hadoop.hbase.replication">ReplicationException</a></pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> @@ -400,10 +414,10 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <a name="postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>postPeerModification</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.63">postPeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.66">postPeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html#postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">ModifyPeerProcedure</a></code></span></div> <div class="block">Called before we finish the procedure. The implementation can do some logging work, and also @@ -421,6 +435,49 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo </dl> </li> </ul> +<a name="serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>serializeStateData</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.75">serializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) + 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> +<div class="block">The user-level code of the procedure may have some state to + persist (e.g. input arguments or current position in the processing state) to + be able to resume on failure.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a><org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationState></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serializer</code> - stores the serializable state</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="deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>deserializeStateData</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/DisablePeerProcedure.html#line.81">deserializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) + 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> +<div class="block">Called on store load to allow the user to decode the previously serialized + state.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a><org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationState></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serializer</code> - contains the serialized state</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> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e0fb1fde/devapidocs/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html index 419ab26..beb277a 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +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"; @@ -134,7 +134,7 @@ var activeTableTab = "activeTableTab"; <hr> <br> <pre>@InterfaceAudience.Private -public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.32">EnablePeerProcedure</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.35">EnablePeerProcedure</a> extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">ModifyPeerProcedure</a></pre> <div class="block">The procedure for enabling a replication peer.</div> </li> @@ -238,22 +238,36 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer)</code> +<div class="block">Called on store load to allow the user to decode the previously serialized + state.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#getPeerOperationType--">getPeerOperationType</a></span>()</code> </td> </tr> -<tr id="i1" class="rowColor"> +<tr id="i2" class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">postPeerModification</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">Called before we finish the procedure.</div> </td> </tr> -<tr id="i2" class="altColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">prePeerModification</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> <div class="block">Called before we start the actual processing.</div> </td> </tr> -<tr id="i3" class="rowColor"> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer)</code> +<div class="block">The user-level code of the procedure may have some state to + persist (e.g.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#updatePeerStorage-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">updatePeerStorage</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env)</code> </td> </tr> @@ -270,7 +284,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <!-- --> </a> <h3>Methods inherited from class org.apache.hadoop.hbase.master.replication.<a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a></h3> -<code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#acquireLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">acquireLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getLatch--">getLatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getPeerId--">getPeerId</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#hasLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">hasLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#holdLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">h oldLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#releaseLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">releaseLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></code></li> +<code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#acquireLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">acquireLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getLatch--">getLatch</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#getPeerId--">getPeerId</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#hasLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">hasLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#holdLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">holdLock</a>, <a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#releaseLock-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">releaseLock</a></code> </li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.procedure2.StateMachineProcedure"> @@ -313,7 +327,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockListLast"> <li class="blockList"> <h4>LOG</h4> -<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.34">LOG</a></pre> +<pre>private static final org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.37">LOG</a></pre> </li> </ul> </li> @@ -330,7 +344,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>EnablePeerProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.36">EnablePeerProcedure</a>()</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.39">EnablePeerProcedure</a>()</pre> </li> </ul> <a name="EnablePeerProcedure-java.lang.String-"> @@ -339,7 +353,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockListLast"> <li class="blockList"> <h4>EnablePeerProcedure</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.39">EnablePeerProcedure</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> peerId)</pre> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.42">EnablePeerProcedure</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> peerId)</pre> </li> </ul> </li> @@ -356,7 +370,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>getPeerOperationType</h4> -<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.44">getPeerOperationType</a>()</pre> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/master/procedure/PeerProcedureInterface.PeerOperationType.html" title="enum in org.apache.hadoop.hbase.master.procedure">PeerProcedureInterface.PeerOperationType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.47">getPeerOperationType</a>()</pre> </li> </ul> <a name="prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> @@ -365,7 +379,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>prePeerModification</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.49">prePeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.52">prePeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html#prePeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">ModifyPeerProcedure</a></code></span></div> <div class="block">Called before we start the actual processing. The implementation should call the pre CP hook, @@ -387,7 +401,7 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <ul class="blockList"> <li class="blockList"> <h4>updatePeerStorage</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.58">updatePeerStorage</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.61">updatePeerStorage</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) throws <a href="../../../../../../org/apache/hadoop/hbase/replication/ReplicationException.html" title="class in org.apache.hadoop.hbase.replication">ReplicationException</a></pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> @@ -400,10 +414,10 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo <a name="postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>postPeerModification</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.63">postPeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.66">postPeerModification</a>(<a href="../../../../../../org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.html" title="class in org.apache.hadoop.hbase.master.procedure">MasterProcedureEnv</a> env) 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/ModifyPeerProcedure.html#postPeerModification-org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv-">ModifyPeerProcedure</a></code></span></div> <div class="block">Called before we finish the procedure. The implementation can do some logging work, and also @@ -421,6 +435,49 @@ extends <a href="../../../../../../org/apache/hadoop/hbase/master/replication/Mo </dl> </li> </ul> +<a name="serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>serializeStateData</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.75">serializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) + 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> +<div class="block">The user-level code of the procedure may have some state to + persist (e.g. input arguments or current position in the processing state) to + be able to resume on failure.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#serializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">serializeStateData</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a><org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationState></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serializer</code> - stores the serializable state</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="deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>deserializeStateData</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/master/replication/EnablePeerProcedure.html#line.81">deserializeStateData</a>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureStateSerializer.html" title="interface in org.apache.hadoop.hbase.procedure2">ProcedureStateSerializer</a> serializer) + 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">Procedure</a></code></span></div> +<div class="block">Called on store load to allow the user to decode the previously serialized + state.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html#deserializeStateData-org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer-">deserializeStateData</a></code> in class <code><a href="../../../../../../org/apache/hadoop/hbase/master/replication/AbstractPeerProcedure.html" title="class in org.apache.hadoop.hbase.master.replication">AbstractPeerProcedure</a><org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationState></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serializer</code> - contains the serialized state</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> </li> </ul> </li>