Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3E076200D5B for ; Tue, 28 Nov 2017 16:17:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C6BE160C16; Tue, 28 Nov 2017 15:17:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2963B160C20 for ; Tue, 28 Nov 2017 16:17:55 +0100 (CET) Received: (qmail 90758 invoked by uid 500); 28 Nov 2017 15:17:49 -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 88419 invoked by uid 99); 28 Nov 2017 15:17:47 -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; Tue, 28 Nov 2017 15:17:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B7BCAF6016; Tue, 28 Nov 2017 15:17:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Tue, 28 Nov 2017 15:18:24 -0000 Message-Id: In-Reply-To: <51959ba9a227453daad1ae44fbacf0fb@git.apache.org> References: <51959ba9a227453daad1ae44fbacf0fb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [40/51] [partial] hbase-site git commit: Published site at . archived-at: Tue, 28 Nov 2017 15:17:57 -0000 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";

@InterfaceAudience.Private
-public interface ProcedureScheduler
+public interface ProcedureScheduler
Keep track of the runnable procedures
@@ -134,103 +134,82 @@ public interface void +addFront(Iterator<Procedure> procedureIterator) +
Inserts all elements in the iterator at the front of this queue.
+ + + +void addFront(Procedure proc)
Inserts the specified element at the front of this queue.
- + void clear()
Clear current state of scheduler such that it is equivalent to newly created scheduler.
- + void completionCleanup(Procedure proc)
The procedure in execution completed.
- + LockedResource getLockResource(LockedResourceType resourceType, String resourceName)  - + List<LockedResource> getLocks()
List lock queues.
- + boolean hasRunnables()  - + Procedure poll()
Fetch one Procedure from the queue
- + Procedure poll(long timeout, TimeUnit unit)
Fetch one Procedure from the queue
- + void signalAll()
In case the class is blocking on poll() waiting for items to be added, this method should awake poll() and poll() should return.
- + int size()
Returns the number of elements in this queue.
- + void start()
Start the scheduler
- + void stop()
Stop the scheduler
- -void -suspendEvent(ProcedureEvent event) -
Mark the event as not ready.
- - -boolean -waitEvent(ProcedureEvent event, - Procedure procedure) -
Suspend the procedure if the event is not ready yet.
- - - -void -wakeEvent(ProcedureEvent event) -
Wake every procedure waiting for the specified event - (By design each event has only one "wake" caller)
- - - -void -wakeEvents(int count, - ProcedureEvent... events) -
Wake every procedure waiting for the specified events.
- - - void yield(Procedure proc)
The procedure can't run at the moment.
@@ -257,7 +236,7 @@ public interface
  • start

    -
    void start()
    +
    void start()
    Start the scheduler
  • @@ -267,7 +246,7 @@ public interface
  • stop

    -
    void stop()
    +
    void stop()
    Stop the scheduler
  • @@ -277,7 +256,7 @@ public interface
  • signalAll

    -
    void signalAll()
    +
    void signalAll()
    In case the class is blocking on poll() waiting for items to be added, this method should awake poll() and poll() should return.
  • @@ -288,7 +267,7 @@ public interface
  • addFront

    -
    void addFront(Procedure proc)
    +
    void addFront(Procedure proc)
    Inserts the specified element at the front of this queue.
    Parameters:
    @@ -296,13 +275,23 @@ public interface + + +
      +
    • +

      addFront

      +
      void addFront(Iterator<Procedure> procedureIterator)
      +
      Inserts all elements in the iterator at the front of this queue.
      +
    • +