hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [40/51] [partial] hbase-site git commit: Published site at .
Date Tue, 28 Nov 2017 15:18:24 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
index ae180ba..ae2d87c 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6};
+var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -106,7 +106,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Private
-public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.32">ProcedureScheduler</a></pre>
+public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.31">ProcedureScheduler</a></pre>
 <div class="block">Keep track of the runnable procedures</div>
 </li>
 </ul>
@@ -134,103 +134,82 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 </tr>
 <tr id="i1" class="rowColor">
 <td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#addFront-java.util.Iterator-">addFront</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&gt;&nbsp;procedureIterator)</code>
+<div class="block">Inserts all elements in the iterator at the front of this queue.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#addFront-org.apache.hadoop.hbase.procedure2.Procedure-">addFront</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>
 <div class="block">Inserts the specified element at the front of this queue.</div>
 </td>
 </tr>
-<tr id="i2" class="altColor">
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#clear--">clear</a></span>()</code>
 <div class="block">Clear current state of scheduler such that it is equivalent to newly created scheduler.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<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/procedure2/ProcedureScheduler.html#completionCleanup-org.apache.hadoop.hbase.procedure2.Procedure-">completionCleanup</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>
 <div class="block">The procedure in execution completed.</div>
 </td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i5" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#getLockResource-org.apache.hadoop.hbase.procedure2.LockedResourceType-java.lang.String-">getLockResource</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2">LockedResourceType</a>&nbsp;resourceType,
                <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resourceName)</code>&nbsp;</td>
 </tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
 <td class="colFirst"><code><a href="http://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/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#getLocks--">getLocks</a></span>()</code>
 <div class="block">List lock queues.</div>
 </td>
 </tr>
-<tr id="i6" class="altColor">
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code>boolean</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#hasRunnables--">hasRunnables</a></span>()</code>&nbsp;</td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#poll--">poll</a></span>()</code>
 <div class="block">Fetch one Procedure from the queue</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i9" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#poll-long-java.util.concurrent.TimeUnit-">poll</a></span>(long&nbsp;timeout,
     <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>
 <div class="block">Fetch one Procedure from the queue</div>
 </td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i10" class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#signalAll--">signalAll</a></span>()</code>
 <div class="block">In case the class is blocking on poll() waiting for items to be added,
  this method should awake poll() and poll() should return.</div>
 </td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code>int</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#size--">size</a></span>()</code>
 <div class="block">Returns the number of elements in this queue.</div>
 </td>
 </tr>
-<tr id="i11" class="rowColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#start--">start</a></span>()</code>
 <div class="block">Start the scheduler</div>
 </td>
 </tr>
-<tr id="i12" class="altColor">
+<tr id="i13" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#stop--">stop</a></span>()</code>
 <div class="block">Stop the scheduler</div>
 </td>
 </tr>
-<tr id="i13" class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#suspendEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">suspendEvent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>
-<div class="block">Mark the event as not ready.</div>
-</td>
-</tr>
 <tr id="i14" class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-         <a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>
-<div class="block">Suspend the procedure if the event is not ready yet.</div>
-</td>
-</tr>
-<tr id="i15" class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#wakeEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">wakeEvent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>
-<div class="block">Wake every procedure waiting for the specified event
- (By design each event has only one "wake" caller)</div>
-</td>
-</tr>
-<tr id="i16" class="altColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#wakeEvents-int-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a></span>(int&nbsp;count,
-          <a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>...&nbsp;events)</code>
-<div class="block">Wake every procedure waiting for the specified events.</div>
-</td>
-</tr>
-<tr id="i17" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#yield-org.apache.hadoop.hbase.procedure2.Procedure-">yield</a></span>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>
 <div class="block">The procedure can't run at the moment.</div>
@@ -257,7 +236,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>start</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.36">start</a>()</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.35">start</a>()</pre>
 <div class="block">Start the scheduler</div>
 </li>
 </ul>
@@ -267,7 +246,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>stop</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.41">stop</a>()</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.40">stop</a>()</pre>
 <div class="block">Stop the scheduler</div>
 </li>
 </ul>
@@ -277,7 +256,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>signalAll</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.47">signalAll</a>()</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.46">signalAll</a>()</pre>
 <div class="block">In case the class is blocking on poll() waiting for items to be added,
  this method should awake poll() and poll() should return.</div>
 </li>
@@ -288,7 +267,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>addFront</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.53">addFront</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.52">addFront</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
 <div class="block">Inserts the specified element at the front of this queue.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -296,13 +275,23 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 </dl>
 </li>
 </ul>
+<a name="addFront-java.util.Iterator-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addFront</h4>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.57">addFront</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&gt;&nbsp;procedureIterator)</pre>
+<div class="block">Inserts all elements in the iterator at the front of this queue.</div>
+</li>
+</ul>
 <a name="addBack-org.apache.hadoop.hbase.procedure2.Procedure-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>addBack</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.59">addBack</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.63">addBack</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
 <div class="block">Inserts the specified element at the end of this queue.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -316,7 +305,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>yield</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.66">yield</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.70">yield</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
 <div class="block">The procedure can't run at the moment.
  add it back to the queue, giving priority to someone else.</div>
 <dl>
@@ -331,7 +320,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>completionCleanup</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.73">completionCleanup</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.77">completionCleanup</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</pre>
 <div class="block">The procedure in execution completed.
  This can be implemented to perform cleanups.</div>
 <dl>
@@ -346,7 +335,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>hasRunnables</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.78">hasRunnables</a>()</pre>
+<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.82">hasRunnables</a>()</pre>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>true if there are procedures available to process, otherwise false.</dd>
@@ -359,7 +348,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>poll</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.84">poll</a>()</pre>
+<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.88">poll</a>()</pre>
 <div class="block">Fetch one Procedure from the queue</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -373,7 +362,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>poll</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.92">poll</a>(long&nbsp;timeout,
+<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.96">poll</a>(long&nbsp;timeout,
                <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</pre>
 <div class="block">Fetch one Procedure from the queue</div>
 <dl>
@@ -385,78 +374,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 </dl>
 </li>
 </ul>
-<a name="suspendEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>suspendEvent</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.99">suspendEvent</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</pre>
-<div class="block">Mark the event as not ready.
- Procedures calling waitEvent() will be suspended.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>event</code> - the event to mark as suspended/not ready</dd>
-</dl>
-</li>
-</ul>
-<a name="wakeEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>wakeEvent</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.106">wakeEvent</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</pre>
-<div class="block">Wake every procedure waiting for the specified event
- (By design each event has only one "wake" caller)</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>event</code> - the event to wait</dd>
-</dl>
-</li>
-</ul>
-<a name="wakeEvents-int-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>wakeEvents</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.114">wakeEvents</a>(int&nbsp;count,
-                <a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>...&nbsp;events)</pre>
-<div class="block">Wake every procedure waiting for the specified events.
- (By design each event has only one "wake" caller)</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>count</code> - the number of events in the array to wake</dd>
-<dd><code>events</code> - the list of events to wake</dd>
-</dl>
-</li>
-</ul>
-<a name="waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>waitEvent</h4>
-<pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.122">waitEvent</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-                  <a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</pre>
-<div class="block">Suspend the procedure if the event is not ready yet.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>event</code> - the event to wait on</dd>
-<dd><code>procedure</code> - the procedure waiting on the event</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>true if the procedure has to wait for the event to be ready, false otherwise.</dd>
-</dl>
-</li>
-</ul>
 <a name="getLocks--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getLocks</h4>
-<pre><a href="http://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/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.128">getLocks</a>()</pre>
+<pre><a href="http://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/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.102">getLocks</a>()</pre>
 <div class="block">List lock queues.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -470,7 +394,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>getLockResource</h4>
-<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.133">getLockResource</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2">LockedResourceType</a>&nbsp;resourceType,
+<pre><a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResource.html" title="class in org.apache.hadoop.hbase.procedure2">LockedResource</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.107">getLockResource</a>(<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2">LockedResourceType</a>&nbsp;resourceType,
                                <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;resourceName)</pre>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -484,7 +408,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockList">
 <li class="blockList">
 <h4>size</h4>
-<pre>int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.140">size</a>()</pre>
+<pre>int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.114">size</a>()</pre>
 <div class="block">Returns the number of elements in this queue.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -498,7 +422,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/proced
 <ul class="blockListLast">
 <li class="blockList">
 <h4>clear</h4>
-<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.148">clear</a>()</pre>
+<pre>void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#line.122">clear</a>()</pre>
 <div class="block">Clear current state of scheduler such that it is equivalent to newly created scheduler.
  Used for testing failure and recovery. To emulate server crash/restart,
  <a href="../../../../../org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html" title="class in org.apache.hadoop.hbase.procedure2"><code>ProcedureExecutor</code></a> resets its own state and calls clear() on scheduler.</div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html b/devapidocs/org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html
index 3d90ea9..8158e45 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html
@@ -238,7 +238,7 @@ extends <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProce
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a></h3>
-<code><a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addBack-org.apache.hadoop.hbase.procedure2.Procedure-">addBack</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addFront-org.apache.hadoop.hbase.procedure2.Procedure-">addFront</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#getNullPollCalls--">getNullPollCalls</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#getPollCalls--">getPollCalls</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#hasRunnables--">hasRunnables</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#poll--">poll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#poll-long-">poll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/Abstrac
 tProcedureScheduler.html#poll-long-java.util.concurrent.TimeUnit-">poll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#push-org.apache.hadoop.hbase.procedure2.Procedure-boolean-boolean-">push</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#schedLock--">schedLock</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#schedUnlock--">schedUnlock</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#signalAll--">signalAll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#size--">size</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#start--">start</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#stop--">stop</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/Ab
 stractProcedureScheduler.html#suspendEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">suspendEvent</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitProcedure-org.apache.hadoop.hbase.procedure2.ProcedureDeque-org.apache.hadoop.hbase.procedure2.Procedure-">waitProcedure</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">wakeEvent</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvents-int-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakePollIfNeed
 ed-int-">wakePollIfNeeded</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeProcedure-org.apache.hadoop.hbase.procedure2.Procedure-">wakeProcedure</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeWaitingProcedures-org.apache.hadoop.hbase.procedure2.ProcedureDeque-">wakeWaitingProcedures</a></code></li>
+<code><a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addBack-org.apache.hadoop.hbase.procedure2.Procedure-">addBack</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addFront-java.util.Iterator-">addFront</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addFront-org.apache.hadoop.hbase.procedure2.Procedure-">addFront</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#getNullPollCalls--">getNullPollCalls</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#getPollCalls--">getPollCalls</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#hasRunnables--">hasRunnables</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#poll--">poll</a>, <a href="../../../../../org/apache/hadoop/hb
 ase/procedure2/AbstractProcedureScheduler.html#poll-long-">poll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#poll-long-java.util.concurrent.TimeUnit-">poll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#push-org.apache.hadoop.hbase.procedure2.Procedure-boolean-boolean-">push</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#schedLock--">schedLock</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#schedUnlock--">schedUnlock</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#signalAll--">signalAll</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#size--">size</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#start--">start</a>, <a href="../../../../../org/apache/
 hadoop/hbase/procedure2/AbstractProcedureScheduler.html#stop--">stop</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitProcedure-org.apache.hadoop.hbase.procedure2.ProcedureDeque-org.apache.hadoop.hbase.procedure2.Procedure-">waitProcedure</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvents-org.apache.hadoop.hbase.procedure2.ProcedureEvent:A-">wakeEvents</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakePollIfNeeded-int-">wakePollIfNeeded</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeProcedure-org.apache.hadoop.hbase.procedure2.Procedure-">wakeProcedure</a>, <a href="../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeWaitingProcedures-org.apache.hadoop.hbase.procedure2.ProcedureDeque-">wakeWaitingProcedures</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/AbstractProcedureScheduler.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/AbstractProcedureScheduler.html b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/AbstractProcedureScheduler.html
index 027b788..171206d 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/AbstractProcedureScheduler.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/AbstractProcedureScheduler.html
@@ -134,6 +134,36 @@
 </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/procedure2/package-summary.html">org.apache.hadoop.hbase.procedure2</a> with parameters of type <a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a></span><span class="tabEnd">&nbsp;</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>void</code></td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#wake-org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler-">wake</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a>&nbsp;procedureScheduler)</code>
+<div class="block">Wakes up the suspended procedures by pushing them back into scheduler queues and sets the
+ event as ready.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#wakeEvents-org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a>&nbsp;scheduler,
+          <a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>...&nbsp;events)</code>
+<div class="block">Wakes up all the given events and puts the procedures waiting on them back into
+ ProcedureScheduler queues.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>(package private) void</code></td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#wakeInternal-org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler-">wakeInternal</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a>&nbsp;procedureScheduler)</code>
+<div class="block">Only to be used by ProcedureScheduler implementations.</div>
+</td>
+</tr>
+</tbody>
+</table>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
index 62002cd..a6409cf 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/Procedure.html
@@ -1185,52 +1185,44 @@
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><span class="typeNameLabel">LockAndQueue.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/LockAndQueue.html#tryExclusiveLock-org.apache.hadoop.hbase.procedure2.Procedure-">tryExclusiveLock</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#suspendIfNotReady-org.apache.hadoop.hbase.procedure2.Procedure-">suspendIfNotReady</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><span class="typeNameLabel">LockAndQueue.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/LockAndQueue.html#tryExclusiveLock-org.apache.hadoop.hbase.procedure2.Procedure-">tryExclusiveLock</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>private void</code></td>
 <td class="colLast"><span class="typeNameLabel">ProcedureExecutor.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html#updateStoreOnExec-org.apache.hadoop.hbase.procedure2.RootProcedureState-org.apache.hadoop.hbase.procedure2.Procedure-org.apache.hadoop.hbase.procedure2.Procedure:A-">updateStoreOnExec</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.html" title="class in org.apache.hadoop.hbase.procedure2">RootProcedureState</a>&nbsp;procStack,
                  <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure,
                  <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>[]&nbsp;subprocs)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>private void</code></td>
 <td class="colLast"><span class="typeNameLabel">ProcedureExecutor.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureExecutor.html#updateStoreOnExec-org.apache.hadoop.hbase.procedure2.RootProcedureState-org.apache.hadoop.hbase.procedure2.Procedure-org.apache.hadoop.hbase.procedure2.Procedure:A-">updateStoreOnExec</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.html" title="class in org.apache.hadoop.hbase.procedure2">RootProcedureState</a>&nbsp;procStack,
                  <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure,
                  <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>[]&nbsp;subprocs)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>static void</code></td>
 <td class="colLast"><span class="typeNameLabel">ProcedureUtil.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureUtil.html#validateClass-org.apache.hadoop.hbase.procedure2.Procedure-">validateClass</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-         <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>
-<div class="block">Suspend the procedure if the event is not ready yet.</div>
-</td>
-</tr>
 <tr class="rowColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-         <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>&nbsp;</td>
-</tr>
-<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitProcedure-org.apache.hadoop.hbase.procedure2.ProcedureDeque-org.apache.hadoop.hbase.procedure2.Procedure-">waitProcedure</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureDeque.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureDeque</a>&nbsp;waitQueue,
              <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeProcedure-org.apache.hadoop.hbase.procedure2.Procedure-">wakeProcedure</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>&nbsp;</td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#yield-org.apache.hadoop.hbase.procedure2.Procedure-">yield</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>
 <div class="block">The procedure can't run at the moment.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><span class="typeNameLabel">SimpleProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/SimpleProcedureScheduler.html#yield-org.apache.hadoop.hbase.procedure2.Procedure-">yield</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;proc)</code>&nbsp;</td>
 </tr>
@@ -1244,6 +1236,16 @@
 </tr>
 <tbody>
 <tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#addFront-java.util.Iterator-">addFront</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&gt;&nbsp;procedureIterator)</code>
+<div class="block">Inserts all elements in the iterator at the front of this queue.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#addFront-java.util.Iterator-">addFront</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&gt;&nbsp;procedureIterator)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td>
 <td class="colLast"><span class="typeNameLabel">Procedure.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html#getRootProcedureId-java.util.Map-org.apache.hadoop.hbase.procedure2.Procedure-">getRootProcedureId</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&gt;&nbsp;procedures,
                   <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&lt;?&gt;&nbsp;proc)</code>&nbsp;</td>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureDeque.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureDeque.html b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureDeque.html
index fd13895..04415cf 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureDeque.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureDeque.html
@@ -158,7 +158,10 @@
 <tbody>
 <tr class="altColor">
 <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureDeque.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureDeque</a></code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#getSuspendedProcedures--">getSuspendedProcedures</a></span>()</code>&nbsp;</td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#getSuspendedProcedures--">getSuspendedProcedures</a></span>()</code>
+<div class="block">Access to suspendedProcedures is 'synchronized' on this object, but it's fine to return it
+ here for tests.</div>
+</td>
 </tr>
 </tbody>
 </table>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureEvent.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureEvent.html b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureEvent.html
index 0e42763..f7e79fd 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureEvent.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/class-use/ProcedureEvent.html
@@ -275,49 +275,18 @@
 </tr>
 <tbody>
 <tr class="altColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#suspendEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">suspendEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>
-<div class="block">Mark the event as not ready.</div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#suspendEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">suspendEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>&nbsp;</td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-         <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>
-<div class="block">Suspend the procedure if the event is not ready yet.</div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#waitEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-org.apache.hadoop.hbase.procedure2.Procedure-">waitEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event,
-         <a href="../../../../../../org/apache/hadoop/hbase/procedure2/Procedure.html" title="class in org.apache.hadoop.hbase.procedure2">Procedure</a>&nbsp;procedure)</code>&nbsp;</td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#wakeEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">wakeEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>
-<div class="block">Wake every procedure waiting for the specified event
- (By design each event has only one "wake" caller)</div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvent-org.apache.hadoop.hbase.procedure2.ProcedureEvent-">wakeEvent</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>&nbsp;event)</code>&nbsp;</td>
-</tr>
-<tr class="altColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">ProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html#wakeEvents-int-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a></span>(int&nbsp;count,
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><span class="typeNameLabel">ProcedureEvent.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html#wakeEvents-org.apache.hadoop.hbase.procedure2.AbstractProcedureScheduler-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html" title="class in org.apache.hadoop.hbase.procedure2">AbstractProcedureScheduler</a>&nbsp;scheduler,
           <a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>...&nbsp;events)</code>
-<div class="block">Wake every procedure waiting for the specified events.</div>
+<div class="block">Wakes up all the given events and puts the procedures waiting on them back into
+ ProcedureScheduler queues.</div>
 </td>
 </tr>
 <tr class="rowColor">
-<td class="colFirst"><code>void</code></td>
-<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvents-int-org.apache.hadoop.hbase.procedure2.ProcedureEvent...-">wakeEvents</a></span>(int&nbsp;count,
-          <a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>...&nbsp;events)</code>&nbsp;</td>
+<td class="colFirst"><code>(package private) void</code></td>
+<td class="colLast"><span class="typeNameLabel">AbstractProcedureScheduler.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.html#wakeEvents-org.apache.hadoop.hbase.procedure2.ProcedureEvent:A-">wakeEvents</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/procedure2/ProcedureEvent.html" title="class in org.apache.hadoop.hbase.procedure2">ProcedureEvent</a>[]&nbsp;events)</code>
+<div class="block">Wake up all of the given events.</div>
+</td>
 </tr>
 </tbody>
 </table>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
index 0676f68..423856b 100644
--- a/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/procedure2/package-tree.html
@@ -203,11 +203,11 @@
 <ul>
 <li type="circle">java.lang.<a href="http://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>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="http://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.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">StateMachineProcedure.Flow</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockedResourceType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockedResourceType</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/RootProcedureState.State.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">RootProcedureState.State</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/Procedure.LockState.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">Procedure.LockState</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/StateMachineProcedure.Flow.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">StateMachineProcedure.Flow</span></a></li>
-<li type="circle">org.apache.hadoop.hbase.procedure2.<a href="../../../../../org/apache/hadoop/hbase/procedure2/LockType.html" title="enum in org.apache.hadoop.hbase.procedure2"><span class="typeNameLink">LockType</span></a></li>
 </ul>
 </li>
 </ul>


Mime
View raw message