From commits-return-79866-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Thu Oct 25 16:54:43 2018
Return-Path:
X-Original-To: archive-asf-public@cust-asf.ponee.io
Delivered-To: archive-asf-public@cust-asf.ponee.io
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by mx-eu-01.ponee.io (Postfix) with SMTP id E4F2F18077F
for ; Thu, 25 Oct 2018 16:54:40 +0200 (CEST)
Received: (qmail 800 invoked by uid 500); 25 Oct 2018 14:54:39 -0000
Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@hbase.apache.org
Delivered-To: mailing list commits@hbase.apache.org
Received: (qmail 424 invoked by uid 99); 25 Oct 2018 14:54:39 -0000
Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2018 14:54:39 +0000
Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33)
id A978BE1082; Thu, 25 Oct 2018 14:54:38 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: git-site-role@apache.org
To: commits@hbase.apache.org
Date: Thu, 25 Oct 2018 14:54:44 -0000
Message-Id: <9e1983b8ed1742f78936ab3b02af0999@git.apache.org>
In-Reply-To:
References:
X-Mailer: ASF-Git Admin Mailer
Subject: [07/39] hbase-site git commit: Published site at
66469733ec9bffb236c143b858e5748182ad71b3.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html b/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
index d4efe3c..82669b1 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/procedure2/ProcedureScheduler.html
@@ -61,75 +61,89 @@
053 void addFront(Procedure proc);054055 /**
-056 * Inserts all elements in the iterator at the front of this queue.
-057 */
-058 void addFront(Iterator<Procedure> procedureIterator);
-059
-060 /**
-061 * Inserts the specified element at the end of this queue.
-062 * @param proc the Procedure to add
-063 */
-064 void addBack(Procedure proc);
-065
-066 /**
-067 * The procedure can't run at the moment.
-068 * add it back to the queue, giving priority to someone else.
-069 * @param proc the Procedure to add back to the list
+056 * Inserts the specified element at the front of this queue.
+057 * @param proc the Procedure to add
+058 * @param notify whether need to notify worker
+059 */
+060 void addFront(Procedure proc, boolean notify);
+061
+062 /**
+063 * Inserts all elements in the iterator at the front of this queue.
+064 */
+065 void addFront(Iterator<Procedure> procedureIterator);
+066
+067 /**
+068 * Inserts the specified element at the end of this queue.
+069 * @param proc the Procedure to add070 */
-071 void yield(Procedure proc);
+071 void addBack(Procedure proc);072073 /**
-074 * The procedure in execution completed.
-075 * This can be implemented to perform cleanups.
-076 * @param proc the Procedure that completed the execution.
+074 * Inserts the specified element at the end of this queue.
+075 * @param proc the Procedure to add
+076 * @param notify whether need to notify worker077 */
-078 void completionCleanup(Procedure proc);
+078 void addBack(Procedure proc, boolean notify);079080 /**
-081 * @return true if there are procedures available to process, otherwise false.
-082 */
-083 boolean hasRunnables();
-084
-085 /**
-086 * Fetch one Procedure from the queue
-087 * @return the Procedure to execute, or null if nothing present.
-088 */
-089 Procedure poll();
-090
-091 /**
-092 * Fetch one Procedure from the queue
-093 * @param timeout how long to wait before giving up, in units of unit
-094 * @param unit a TimeUnit determining how to interpret the timeout parameter
-095 * @return the Procedure to execute, or null if nothing present.
+081 * The procedure can't run at the moment.
+082 * add it back to the queue, giving priority to someone else.
+083 * @param proc the Procedure to add back to the list
+084 */
+085 void yield(Procedure proc);
+086
+087 /**
+088 * The procedure in execution completed.
+089 * This can be implemented to perform cleanups.
+090 * @param proc the Procedure that completed the execution.
+091 */
+092 void completionCleanup(Procedure proc);
+093
+094 /**
+095 * @return true if there are procedures available to process, otherwise false.096 */
-097 Procedure poll(long timeout, TimeUnit unit);
+097 boolean hasRunnables();098099 /**
-100 * List lock queues.
-101 * @return the locks
+100 * Fetch one Procedure from the queue
+101 * @return the Procedure to execute, or null if nothing present.102 */
-103 List<LockedResource> getLocks();
+103 Procedure poll();104105 /**
-106 * @return {@link LockedResource} for resource of specified type & name. null if resource is not locked.
-107 */
-108 LockedResource getLockResource(LockedResourceType resourceType, String resourceName);
-109
-110 /**
-111 * Returns the number of elements in this queue.
-112 * @return the number of elements in this queue.
-113 */
-114 @VisibleForTesting
-115 int size();
-116
-117 /**
-118 * Clear current state of scheduler such that it is equivalent to newly created scheduler.
-119 * Used for testing failure and recovery. To emulate server crash/restart,
-120 * {@link ProcedureExecutor} resets its own state and calls clear() on scheduler.
+106 * Fetch one Procedure from the queue
+107 * @param timeout how long to wait before giving up, in units of unit
+108 * @param unit a TimeUnit determining how to interpret the timeout parameter
+109 * @return the Procedure to execute, or null if nothing present.
+110 */
+111 Procedure poll(long timeout, TimeUnit unit);
+112
+113 /**
+114 * List lock queues.
+115 * @return the locks
+116 */
+117 List<LockedResource> getLocks();
+118
+119 /**
+120 * @return {@link LockedResource} for resource of specified type & name. null if resource is not locked.121 */
-122 @VisibleForTesting
-123 void clear();
-124}
+122 LockedResource getLockResource(LockedResourceType resourceType, String resourceName);
+123
+124 /**
+125 * Returns the number of elements in this queue.
+126 * @return the number of elements in this queue.
+127 */
+128 @VisibleForTesting
+129 int size();
+130
+131 /**
+132 * Clear current state of scheduler such that it is equivalent to newly created scheduler.
+133 * Used for testing failure and recovery. To emulate server crash/restart,
+134 * {@link ProcedureExecutor} resets its own state and calls clear() on scheduler.
+135 */
+136 @VisibleForTesting
+137 void clear();
+138}
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/downloads.html
----------------------------------------------------------------------
diff --git a/downloads.html b/downloads.html
index 2315325..de5a1c6 100644
--- a/downloads.html
+++ b/downloads.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – Apache HBase Downloads
@@ -461,7 +461,7 @@ under the License. -->
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/export_control.html
----------------------------------------------------------------------
diff --git a/export_control.html b/export_control.html
index c51479b..37abbac 100644
--- a/export_control.html
+++ b/export_control.html
@@ -7,7 +7,7 @@
-
+
Apache HBase –
Export Control
@@ -341,7 +341,7 @@ for more details.
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 3639d73..eb2cfe3 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – Apache HBase™ Home
@@ -421,7 +421,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/integration.html
----------------------------------------------------------------------
diff --git a/integration.html b/integration.html
index 8d231df..d090a7d 100644
--- a/integration.html
+++ b/integration.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – CI Management
@@ -301,7 +301,7 @@
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/issue-tracking.html
----------------------------------------------------------------------
diff --git a/issue-tracking.html b/issue-tracking.html
index 41fde70..a1798d2 100644
--- a/issue-tracking.html
+++ b/issue-tracking.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – Issue Management
@@ -298,7 +298,7 @@
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/license.html
----------------------------------------------------------------------
diff --git a/license.html b/license.html
index 86e3402..9f8397a 100644
--- a/license.html
+++ b/license.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – Project Licenses
@@ -501,7 +501,7 @@
The Apache Software Foundation.
All rights reserved.
-
Last Published: 2018-10-24
+
Last Published: 2018-10-25
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5f45c993/mail-lists.html
----------------------------------------------------------------------
diff --git a/mail-lists.html b/mail-lists.html
index 38bb1a5..fd36bc4 100644
--- a/mail-lists.html
+++ b/mail-lists.html
@@ -7,7 +7,7 @@
-
+
Apache HBase – Project Mailing Lists
@@ -351,7 +351,7 @@
The Apache Software Foundation.
All rights reserved.
-